Skip opening url if an action was called (#2475)

This commit is contained in:
Tommy Jonsson 2019-01-14 19:53:44 +01:00 committed by Paulus Schoutsen
parent 9565b5490b
commit f98fff9ffd

View File

@ -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;
}