Experimental: fix the ability to force experimental in developement
This commit is contained in:
parent
5dcc3abbd8
commit
1db8fb042b
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ const toBoolean = (environmentVariable: string | undefined): boolean => {
|
|||
|
||||
export const useExperimentalFlag = () => {
|
||||
const { isBeta } = useGetEnvironment();
|
||||
const isExperimental = toBoolean(process.env.EXPERIMENTAL);
|
||||
const isExperimental = toBoolean(process.env.EXPERIMENTAL?.toString());
|
||||
return (
|
||||
(useFlag('image-builder.new-wizard.enabled') || isExperimental) && isBeta()
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue