mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 05:27:46 +00:00
Skip opening url if an action was called (#2475)
This commit is contained in:
parent
9565b5490b
commit
f98fff9ffd
@ -108,7 +108,11 @@ function initPushNotifications() {
|
||||
|
||||
event.notification.close();
|
||||
|
||||
if (!event.notification.data || !event.notification.data.url) {
|
||||
if (
|
||||
event.action ||
|
||||
!event.notification.data ||
|
||||
!event.notification.data.url
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user