From 6a47a4c9bed359d93cd7930ddf06d388a1009ddc Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Tue, 23 Jan 2024 16:09:58 -0500 Subject: [PATCH] fix(striker-ui-api): correct condition to append flag to manage alerts --- striker-ui-api/src/lib/execManageAlerts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/striker-ui-api/src/lib/execManageAlerts.ts b/striker-ui-api/src/lib/execManageAlerts.ts index eeda8084..eac6824c 100644 --- a/striker-ui-api/src/lib/execManageAlerts.ts +++ b/striker-ui-api/src/lib/execManageAlerts.ts @@ -58,7 +58,7 @@ export const execManageAlerts = ( (previous, [key, flag]) => { const value = shallow[key]; - if (value) { + if (value !== undefined) { previous.push(flag, String(value)); }