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:
parent
38d6b89256
commit
16b93eb315
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue