forked from FoundKeyGang/FoundKey
service worker: don't trigger "push notifications have been updated"
closes FoundKeyGang/FoundKey#121 Changelog: Fixed
This commit is contained in:
parent
a3468491a7
commit
80af8a143e
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
declare var self: ServiceWorkerGlobalScope;
|
declare var self: ServiceWorkerGlobalScope;
|
||||||
|
|
||||||
import { createEmptyNotification, createNotification } from '@/scripts/create-notification';
|
import { createNotification } from '@/scripts/create-notification';
|
||||||
import { swLang } from '@/scripts/lang';
|
import { swLang } from '@/scripts/lang';
|
||||||
import { swNotificationRead } from '@/scripts/notification-read';
|
import { swNotificationRead } from '@/scripts/notification-read';
|
||||||
import { pushNotificationDataMap } from '@/types';
|
import { pushNotificationDataMap } from '@/types';
|
||||||
|
@ -67,8 +67,6 @@ self.addEventListener('push', ev => {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return createEmptyNotification();
|
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue