From ec2682b265560cd2bdfe78af2b9e20d54a1b25c9 Mon Sep 17 00:00:00 2001 From: Cesar Celis Hernandez Date: Wed, 5 Jul 2023 12:45:58 -0400 Subject: [PATCH] Removing white spaces from provided values --- .../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 a0f8d2ee99..0c2e21f3fb 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);