Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Sep 13, 2022
1 parent 8cf1067 commit b390365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default function applyConfig(config) {
},
};

config.viewlets = config.viewlets || [];
config.addonReducers = { ...config.addonReducers, ...reducers };

// export const portlets = {
Expand Down
2 changes: 1 addition & 1 deletion src/localconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export function applyConfig(config) {
};

config.viewlets = [
...(config.viewlets || []),
...config.viewlets,
{ path: '/', component: ForestMetadata },
];

Expand Down

0 comments on commit b390365

Please sign in to comment.