From 4fd2a29ab3ba41b3927a938766c1d1a68cda16f2 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 16 Jun 2025 13:30:27 +0800 Subject: [PATCH] fix email type --- client/src/Pages/Notifications/create/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/Pages/Notifications/create/index.jsx b/client/src/Pages/Notifications/create/index.jsx index 8b5512ca8..2fd83e4e1 100644 --- a/client/src/Pages/Notifications/create/index.jsx +++ b/client/src/Pages/Notifications/create/index.jsx @@ -130,7 +130,7 @@ const CreateNotifications = () => { (type) => type._id === newNotification.type ).value; - if (newNotification.type === "email") { + if (type === "email") { newNotification.config = null; } else if (type === "slack" || type === "webhook" || type === "discord") { newNotification.address = "";