1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-03-16 08:50:26 +00:00

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