From d56b9e56e490873e7960bd62592da84600004430 Mon Sep 17 00:00:00 2001
From: Rithvik Nishad
Date: Thu, 15 Feb 2024 19:39:00 +0530
Subject: [PATCH 1/2] fixes #7217; Allows "MESSAGE" type push notifications to
show notification (#7221)
---
src/service-worker.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/service-worker.ts b/src/service-worker.ts
index 0b1c40288f5..76501ea21f1 100644
--- a/src/service-worker.ts
+++ b/src/service-worker.ts
@@ -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);
});
From dacc7f8b56e45a73e5a166ffeb06d92f8950704e Mon Sep 17 00:00:00 2001
From: Khavin Shankar
Date: Thu, 15 Feb 2024 22:00:56 +0530
Subject: [PATCH 2/2] Minor ui spacing fix (#7147)
---
src/Components/Patient/ManagePatients.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Components/Patient/ManagePatients.tsx b/src/Components/Patient/ManagePatients.tsx
index 5e8afaf2d5c..534a3e876a1 100644
--- a/src/Components/Patient/ManagePatients.tsx
+++ b/src/Components/Patient/ManagePatients.tsx
@@ -747,7 +747,7 @@ export const PatientManager = () => {
-