浏览代码

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: {
 			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);