Skip to content

Commit 0d628f5

Browse files
authored
Removing white spaces from provided values (#2922)
1 parent 4387b21 commit 0d628f5

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)