Bladeren bron

Update NotificationCard, fix pagination bug #2019

Daniel Supernault 5 jaren geleden
bovenliggende
commit
32beaad5b7
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      resources/assets/js/components/NotificationCard.vue

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

@@ -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);