Update Hashtag.vue component

pull/1480/head
Daniel Supernault 6 years ago
parent 38d6b89256
commit 16b93eb315
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save