File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ export const LOG: boolean = (process.env.REACT_APP_LOG || '').toLowerCase() ===
1313export const TUTORIAL_LIST_URL : string = process . env . REACT_APP_TUTORIAL_LIST_URL || ''
1414
1515// config variables
16- export const DISPLAY_RUN_TEST_BUTTON = ( process . env . CODEROAD_DISPLAY_RUN_TEST_BUTTON || 'true' ) . toLowerCase ( ) === 'true'
16+ export const DISPLAY_RUN_TEST_BUTTON =
17+ ( process . env . CODEROAD_DISPLAY_RUN_TEST_BUTTON || 'true' ) . toLowerCase ( ) !== 'false' // default true
1718
1819export const ADMIN_MODE =
19- ( process . env . CODEROAD_ADMIN_MODE || process . env . STORYBOOK_ADMIN_MODE || '' ) . toLowerCase ( ) === 'true'
20+ ( process . env . CODEROAD_ADMIN_MODE || process . env . STORYBOOK_ADMIN_MODE || '' ) . toLowerCase ( ) === 'true' // default false
You can’t perform that action at this time.
0 commit comments