From 0d628f589a7af8d478b4d777cec7b01374cc37e4 Mon Sep 17 00:00:00 2001 From: Cesar Celis Hernandez Date: Mon, 31 Jul 2023 22:29:11 -0600 Subject: [PATCH] Removing white spaces from provided values (#2922) --- .../src/screens/Console/EventDestinations/ConfTargetGeneric.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/portal-ui/src/screens/Console/EventDestinations/ConfTargetGeneric.tsx b/portal-ui/src/screens/Console/EventDestinations/ConfTargetGeneric.tsx index a0f8d2ee9..0c2e21f3f 100644 --- a/portal-ui/src/screens/Console/EventDestinations/ConfTargetGeneric.tsx +++ b/portal-ui/src/screens/Console/EventDestinations/ConfTargetGeneric.tsx @@ -98,6 +98,7 @@ const ConfTargetGeneric = ({ const setValueElement = (key: string, value: string, index: number) => { const valuesDup = [...valueHolder]; + value = value.trim(); valuesDup[index] = { key, value }; setValueHolder(valuesDup);