Skip to content

Commit

Permalink
bug fix so that managed channels could be enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Riya Saxena <[email protected]>
  • Loading branch information
riysaxen-amzn committed Oct 17, 2024
1 parent 66cd98c commit e90d0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/pages/utils/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e90d0c0

Please sign in to comment.