diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index ba3cfc50..b00fa10f 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -95,7 +95,9 @@ export default defineComponent({ } }, async loadNotifications() { - this.allNotifications = await this.notificationService.getAll() + // We're recreating the notification service here to make sure it uses the latest api user token + const notificationService = new NotificationService() + this.allNotifications = await notificationService.getAll() }, to(n, index) { const to = {