diff --git a/web/src/elements/notifications/NotificationDrawer.ts b/web/src/elements/notifications/NotificationDrawer.ts index 175a5ae44..e619a5fbd 100644 --- a/web/src/elements/notifications/NotificationDrawer.ts +++ b/web/src/elements/notifications/NotificationDrawer.ts @@ -183,9 +183,15 @@ export class NotificationDrawer extends LitElement { composed: true, }), ); + this.dispatchEvent( + new CustomEvent(EVENT_NOTIFICATION_DRAWER_TOGGLE, { + bubbles: true, + composed: true, + }), + ); }); }} - class="pf-c-button pf-m-secondary pf-m-block" + class="pf-c-button pf-m-primary pf-m-block" type="button" aria-label=${t`Clear all`} >