mirror of
https://git.steelants.cz/JonatanRek/VUE_GabenParadise.git
synced 2026-10-11 11:25:32 +00:00
New Icons & Credits
This commit is contained in:
1 parent
d34dde916e
commit
5d5e74398c
11 files changed
+12
-9
No files matched your search
@@ -23,10 +23,13 @@ self.addEventListener("push", function(event) {
|
||||
|
||||
self.addEventListener("notificationclick", function(event) {
|
||||
if (event.notification) {
|
||||
if (data.data) {
|
||||
if (event.notification.data) {
|
||||
var data = JSON.parse(event.notification.data.data);
|
||||
if (data[event.action]) {
|
||||
console.log(data);
|
||||
console.log(data);
|
||||
|
||||
|
||||
console.log(data[event.action]);
|
||||
clients.openWindow("" + data[event.action]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user