Skip to content

Commit

Permalink
Merge branch 'develop' into fa-2-care-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Omkar76 authored Feb 15, 2024
2 parents 29bc07e + d56b9e5 commit 4487a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ self.addEventListener("push", async function (event) {
if (event.data) {
const data = JSON.parse(event.data.text());

if (["MESSAGE", "PUSH_MESSAGE"].includes(data?.type)) {
if (["PUSH_MESSAGE"].includes(data?.type)) {
self.clients.matchAll().then((clients) => {
clients[0].postMessage(data);
});
Expand Down

0 comments on commit 4487a0d

Please sign in to comment.