From 500ca22fa73a85c36cfca235ef08aa8ff8ab4881 Mon Sep 17 00:00:00 2001 From: ttpl-rt-217 Date: Sun, 10 Nov 2024 11:02:26 +0530 Subject: [PATCH] Issue #PS-2407 fix: When an admin reassigns a TL to a different block, the TL should receive a notification informing them about the change. --- src/hooks/useNotification.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useNotification.tsx b/src/hooks/useNotification.tsx index 34a6783d..04e05cb1 100644 --- a/src/hooks/useNotification.tsx +++ b/src/hooks/useNotification.tsx @@ -21,7 +21,7 @@ const useNotification = () => { console.log("Device ID from API:", deviceId); - if (true) { + if (deviceId) { const result = await sendCredentialService({ isQueue: false, context: "USER",