Skip to content

Commit

Permalink
fix(notifications): clear all notifications from the command line no…
Browse files Browse the repository at this point in the history
…t hiding clear all button (NadAlaba) (#5257)
  • Loading branch information
NadAlaba authored Apr 2, 2024
1 parent ef72ca6 commit 17295d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/ts/elements/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ export function addBanner(

export function clearAllNotifications(): void {
$("#notificationCenter .notif").remove();
visibleStickyNotifications = 0;
updateClearAllButton();
}

const debouncedMarginUpdate = debounce(100, updateMargin);
Expand Down

0 comments on commit 17295d7

Please sign in to comment.