From a1bd044c0c770c1a3723279d57c93db00fb6efe0 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 13 May 2023 06:05:54 -0600 Subject: [PATCH] Update Notifications component --- resources/assets/components/Notifications.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/assets/components/Notifications.vue b/resources/assets/components/Notifications.vue index e3af689a..2fb085b4 100644 --- a/resources/assets/components/Notifications.vue +++ b/resources/assets/components/Notifications.vue @@ -54,7 +54,7 @@ -
+
@@ -63,7 +63,7 @@
-
+
@@ -315,9 +315,9 @@ methods: { fetchNotifications() { + this.notificationRetries++; axios.get('/api/pixelfed/v1/notifications?pg=true') .then(res => { - this.notificationRetries++; if(!res || !res.data || !res.data.length) { if(this.notificationRetries == 2) { clearTimeout(this.notificationRetryTimeout);