web/elements: close notification drawer when clearing all notifications
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -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`} | ||||
|                     > | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer