diff --git a/resources/assets/js/core/notifications/list.vue b/resources/assets/js/core/notifications/list.vue index a86e693e8..51b749b44 100644 --- a/resources/assets/js/core/notifications/list.vue +++ b/resources/assets/js/core/notifications/list.vue @@ -81,10 +81,8 @@ export default { .then(() => { this.notifications.map(item => { item.read_at = new Date(); - if (this.removeItem) { - Store.remove(this.item.id); - } - }) + Store.remove(item.id); + }); }) .catch(Messages.handleErrorResponse) .finally(() => {