From da97ca61d366e4dc8dc8f8581d02f71bf5887f5a Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Thu, 17 Aug 2023 18:23:58 +0300 Subject: [PATCH] fix rule editor env var --- apps/red-ui/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/main.ts b/apps/red-ui/src/main.ts index 5f203e255..06db7e505 100644 --- a/apps/red-ui/src/main.ts +++ b/apps/red-ui/src/main.ts @@ -17,7 +17,7 @@ async function bootstrap(appConfig: AppConfig, version: { FRONTEND_APP_VERSION: ...appConfig, IS_DOCUMINE: bool(appConfig.IS_DOCUMINE), RULE_EDITOR_DEV_ONLY: - typeof ruleEditorDevOnly === 'string' ? ruleEditorDevOnly.toLowerCase() === 'true' : ruleEditorDevOnly !== false, + typeof ruleEditorDevOnly === 'string' ? ruleEditorDevOnly.toLowerCase() !== 'false' : ruleEditorDevOnly !== false, FRONTEND_APP_VERSION: version.FRONTEND_APP_VERSION, } as AppConfig; console.log('Started with local config: ', config);