Update NotificationCard, fix pagination bug #2019

This commit is contained in:
Daniel Supernault 2020-04-17 17:25:31 -06:00
parent d5e16ac04f
commit 32beaad5b7
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -88,7 +88,7 @@
methods: { methods: {
fetchNotifications() { fetchNotifications() {
axios.get('/api/pixelfed/v1/notifications') axios.get('/api/pixelfed/v1/notifications?pg=true')
.then(res => { .then(res => {
let data = res.data; let data = res.data;
let ids = res.data.map(n => n.id); let ids = res.data.map(n => n.id);