mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +00:00
Close notification drawer when last entry is dismissed (#7724)
This commit is contained in:
parent
c409ba149d
commit
0c197558a1
@ -164,7 +164,7 @@ export class HuiNotificationDrawer extends EventsMixin(
|
||||
if (
|
||||
this.open &&
|
||||
oldNotifications.length > 0 &&
|
||||
!newNotifications.length === 0
|
||||
newNotifications.length === 0
|
||||
) {
|
||||
this.open = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user