mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update Activity.vue component
This commit is contained in:
parent
f4039ce218
commit
6ef7597356
1 changed files with 6 additions and 1 deletions
|
@ -115,7 +115,11 @@ export default {
|
|||
|
||||
methods: {
|
||||
fetchNotifications() {
|
||||
axios.get('/api/pixelfed/v1/notifications')
|
||||
axios.get('/api/pixelfed/v1/notifications', {
|
||||
params: {
|
||||
pg: true
|
||||
}
|
||||
})
|
||||
.then(res => {
|
||||
let data = res.data.filter(n => {
|
||||
if(n.type == 'share' && !status) {
|
||||
|
@ -138,6 +142,7 @@ export default {
|
|||
}
|
||||
axios.get('/api/pixelfed/v1/notifications', {
|
||||
params: {
|
||||
pg: true,
|
||||
page: this.notificationCursor
|
||||
}
|
||||
}).then(res => {
|
||||
|
|
Loading…
Reference in a new issue