From e7fcf7dd802d0c2a10773cbcbd4b8ac595dfccba Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Tue, 25 Mar 2025 21:21:30 +0100 Subject: [PATCH] [web] Remove notification identifier --- web-src/src/components/ListNotifications.vue | 4 ++-- web-src/src/stores/notifications.js | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/web-src/src/components/ListNotifications.vue b/web-src/src/components/ListNotifications.vue index fbfbe5d5..42c63c72 100644 --- a/web-src/src/components/ListNotifications.vue +++ b/web-src/src/components/ListNotifications.vue @@ -3,8 +3,8 @@
diff --git a/web-src/src/stores/notifications.js b/web-src/src/stores/notifications.js index fdc2118f..b06c482e 100644 --- a/web-src/src/stores/notifications.js +++ b/web-src/src/stores/notifications.js @@ -4,7 +4,6 @@ export const useNotificationsStore = defineStore('NotificationsStore', { actions: { add(notification) { const newNotification = { - id: this.nextId++, text: notification.text, timeout: notification.timeout, topic: notification.topic, @@ -36,5 +35,5 @@ export const useNotificationsStore = defineStore('NotificationsStore', { getters: { isEmpty: (state) => state.list.length <= 0 }, - state: () => ({ list: [], nextId: 1 }) + state: () => ({ list: [] }) })