فهرست منبع

Update NotificationCard, fix pagination bug #2019

Daniel Supernault 5 سال پیش
والد
کامیت
32beaad5b7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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);