From 94ee739d91daca7af9b2c1c0f08ef344dd9016b3 Mon Sep 17 00:00:00 2001 From: Mauricio Bonani Date: Wed, 7 Jul 2021 09:12:58 -0400 Subject: [PATCH] Fix scriptFiles --- packages/node_modules/@node-red/editor-api/lib/editor/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js index de0106dbe..6d60c33e8 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js @@ -243,7 +243,7 @@ module.exports = { ) themeContext.page.scripts = scriptFiles.concat(themeContext.page.scripts || []) theme.page = theme.page || {_:{}} - theme.page._.scripts = cssFiles.concat(theme.page._.scripts || []) + theme.page._.scripts = scriptFiles.concat(theme.page._.scripts || []) } } activeThemeInitialised = true;