Skip to content

Commit

Permalink
Fix removal of notification
Browse files Browse the repository at this point in the history
  • Loading branch information
mzur committed Jun 19, 2024
1 parent cd0281b commit 39de4ee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions resources/assets/js/core/notifications/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 39de4ee

Please sign in to comment.