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