diff --git a/resources/assets/js/components/NotificationCard.vue b/resources/assets/js/components/NotificationCard.vue index 9fe9e3c2f..ef694f3b9 100644 --- a/resources/assets/js/components/NotificationCard.vue +++ b/resources/assets/js/components/NotificationCard.vue @@ -2,12 +2,12 @@
@@ -86,7 +86,7 @@
0 Notifications!
No notifications yet
@@ -103,6 +103,7 @@ export default { data() { return { + loading: true, notifications: {}, notificationCursor: 2, notificationMaxId: 0, @@ -133,8 +134,7 @@ let ids = res.data.map(n => n.id); this.notificationMaxId = Math.min(...ids); this.notifications = data; - $('.notification-card .loader').addClass('d-none'); - $('.notification-card .contents').removeClass('d-none'); + this.loading = false; //this.notificationPoll(); }); },