diff --git a/src/designer/elsa-workflows-designer/src/modules/notifications/notification-manager.tsx b/src/designer/elsa-workflows-designer/src/modules/notifications/notification-manager.tsx index f9a16d20c..de7f87498 100644 --- a/src/designer/elsa-workflows-designer/src/modules/notifications/notification-manager.tsx +++ b/src/designer/elsa-workflows-designer/src/modules/notifications/notification-manager.tsx @@ -29,7 +29,7 @@ export class NotificationManager { deleteNotif = (id) => { console.log(id); - notificationStore.notifications = [...notificationStore.notifications.filter(item => item.id !== id)] + notificationStore.notifications = notificationStore.notifications.filter(item => item.id !== id) } handleAddNotification = (e: Notification) => {