From e90d0c08445fd3c1bccf5dec3ae6aa4fad128802 Mon Sep 17 00:00:00 2001 From: Riya Saxena Date: Wed, 16 Oct 2024 19:16:11 -0700 Subject: [PATCH] bug fix so that managed channels could be enabled Signed-off-by: Riya Saxena --- public/pages/utils/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/pages/utils/helpers.js b/public/pages/utils/helpers.js index 04ec75574..4acc59d10 100644 --- a/public/pages/utils/helpers.js +++ b/public/pages/utils/helpers.js @@ -42,7 +42,7 @@ export function parseQueryStringAndGetDataSource(queryString) { const pair = param.split('='); params[pair[0]] = pair[1]; } - return params.hasOwnProperty('dataSourceId') ? params['dataSourceId'] : undefined; + return params.hasOwnProperty('dataSourceId') ? params['dataSourceId'] || '' : undefined; } export function constructUrlFromDataSource(url) {