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

Commit

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

config.editForms = {
...config.editForms,
};

config.settings.slate = config.settings.slate || {};
config.settings.slate.styleMenu = config.settings.slate.styleMenu || {};
config.settings.slate.styleMenu.inlineStyles = [
Expand Down
5 changes: 3 additions & 2 deletions src/localconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ export function applyConfig(config) {
...(config.viewlets || []),
];

Object.preventExtensions(config);

config.settings.plotlyCustomColors = [
{
title: 'Forest Default',
Expand Down Expand Up @@ -247,5 +245,8 @@ export function applyConfig(config) {
// 'templated_country_factsheet',
// 'basic_data_factsheet',
// ];

Object.preventExtensions(config);

return config;
}

0 comments on commit b779155

Please sign in to comment.