Skip to content

Commit 570600b

Browse files
committed
removing white spaces from provided values
1 parent 8cc6024 commit 570600b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

portal-ui/src/screens/Console/EventDestinations/ConfTargetGeneric.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ const ConfTargetGeneric = ({
9898

9999
const setValueElement = (key: string, value: string, index: number) => {
100100
const valuesDup = [...valueHolder];
101+
value = value.trim()
101102
valuesDup[index] = { key, value };
102103

103104
setValueHolder(valuesDup);

0 commit comments

Comments
 (0)