From 7af43a192447faeb3bd0b420db8cfcc50c58eb02 Mon Sep 17 00:00:00 2001 From: andreiggr Date: Tue, 13 Sep 2022 10:53:21 +0300 Subject: [PATCH] add new prop to non-extensible obj --- src/localconfig.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/localconfig.js b/src/localconfig.js index a823e32..8636a3b 100644 --- a/src/localconfig.js +++ b/src/localconfig.js @@ -153,6 +153,8 @@ export function applyConfig(config) { ...(config.viewlets || []), ]; + Object.preventExtensions(config); + config.settings.plotlyCustomColors = [ { title: 'Forest Default',