Update Hashtag.vue component

This commit is contained in:
Daniel Supernault 2019-07-08 20:16:09 -06:00
parent 38d6b89256
commit 16b93eb315
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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++;
});
},