mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +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 (
|
if (
|
||||||
this.open &&
|
this.open &&
|
||||||
oldNotifications.length > 0 &&
|
oldNotifications.length > 0 &&
|
||||||
!newNotifications.length === 0
|
newNotifications.length === 0
|
||||||
) {
|
) {
|
||||||
this.open = false;
|
this.open = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user