aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps
diff options
context:
space:
mode:
authorsai-neetha <sai-neetha.phulmali@highstreet-technologies.com>2023-10-09 20:38:29 +0200
committersai-neetha <sai-neetha.phulmali@highstreet-technologies.com>2023-10-09 20:39:01 +0200
commit70cc4c4295376e4af9cb9009a6ee5ddc389d61d9 (patch)
treec9cda826074db4860ab8cc558a479d60e3bfb422 /sdnr/wt/odlux/apps
parentd3fc33134c81901ae9582e3b66108639ab3a7e70 (diff)
SDNR UI Config app throws 400 error
ConfigurationApp throws 400 error Issue-ID: CCSDK-3942 Change-Id: Ia4bdeb1590f533e49c8a865f2bc75e135952f414 Signed-off-by: sai-neetha <sai-neetha.phulmali@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/odlux/apps')
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts b/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
index d8ec4bfd9..187e9bccb 100644
--- a/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
+++ b/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
@@ -233,7 +233,7 @@ export const updateViewActionAsyncCreator = (vPath: string) => async (dispatch:
extractList = true;
} else {
// normal case & replaces unicode %2C if present
- dataPath += `/${property}${key ? `=${key.replace(/\%2C/g, ',').replace(/\//ig, '%2F')}` : ''}`;
+ dataPath += `/${property}${key ? `=${key.replace(/,/ig, '%2C').replace(/\//ig, '%2F')}` : ''}`;
// in case of the root element the required namespace will be added later,
// while extracting the data