Explorar o código

Update Hashtag.vue component

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
16b93eb315
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      resources/assets/js/components/Hashtag.vue

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

@@ -115,7 +115,8 @@
 			getResults() {
 				axios.get('/api/v2/discover/tag', {
 					params: {
-						hashtag: this.hashtag
+						hashtag: this.hashtag,
+						page: this.page
 					}
 				}).then(res => {
 					let data = res.data;
@@ -129,6 +130,7 @@
 					//this.top = tags.slice(6, 9);
 					this.loaded = true;
 					this.following = data.follows;
+					this.page++;
 				});
 			},