Explorar o código

Update Hashtag.vue component, limit pagination for guests

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
78d19ed847
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 				}