Skip to content

Commit

Permalink
Read configParams from initialParams
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Feb 12, 2025
1 parent fb53e63 commit be3060f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/StandardApp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,7 @@ export default class StandardApp extends React.Component {
UrlParams.clear();

// Load config.json
const urlParams = UrlParams.getParams();
const configParams = Object.entries(urlParams).reduce((res, [key, value]) => {
const configParams = Object.entries(initialParams).reduce((res, [key, value]) => {
if (key.startsWith("config:")) {
res[key.slice(7)] = value;
}
Expand Down

0 comments on commit be3060f

Please sign in to comment.