Browse Source

Update Hashtag.vue component, limit pagination for guests

Daniel Supernault 6 năm trước cách đây
mục cha
commit
78d19ed847
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      resources/assets/js/components/Hashtag.vue

+ 1 - 1
resources/assets/js/components/Hashtag.vue

@@ -133,7 +133,7 @@
 			},
 
 			infiniteLoader($state) {
-				if(this.page > 19) {
+				if(this.page > (this.authenticated ? 19 : 3)) {
 					$state.complete();
 					return;
 				}