Close notification drawer when last entry is dismissed (#7724)

This commit is contained in:
Philip Allgaier 2020-11-19 22:53:21 +01:00 committed by GitHub
parent c409ba149d
commit 0c197558a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,7 @@ export class HuiNotificationDrawer extends EventsMixin(
if (
this.open &&
oldNotifications.length > 0 &&
!newNotifications.length === 0
newNotifications.length === 0
) {
this.open = false;
}