1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 16:53:17 +00:00

Update Activity.vue

This commit is contained in:
Daniel Supernault 2019-06-03 14:57:48 -06:00
parent 7a89256219
commit d793e2cff2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -113,11 +113,7 @@ export default {
methods: { methods: {
fetchNotifications() { fetchNotifications() {
axios.get('/api/v1/notifications', { axios.get('/api/v1/notifications')
params: {
pg: false
}
})
.then(res => { .then(res => {
let data = res.data.filter(n => { let data = res.data.filter(n => {
if(n.type == 'share' && !status) { if(n.type == 'share' && !status) {
@ -140,8 +136,7 @@ export default {
} }
axios.get('/api/v1/notifications', { axios.get('/api/v1/notifications', {
params: { params: {
page: this.notificationCursor, page: this.notificationCursor
pg: false
} }
}).then(res => { }).then(res => {
if(res.data.length > 0) { if(res.data.length > 0) {