Selaa lähdekoodia

Update NotificationCard, fix pagination bug #2019

Daniel Supernault 5 vuotta sitten
vanhempi
commit
32beaad5b7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      resources/assets/js/components/NotificationCard.vue

+ 1 - 1
resources/assets/js/components/NotificationCard.vue

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