Fix enable/disable edit mode (#1333)
This commit is contained in:
1 parent
fc9d6f796e
commit
d5c90a742b
11 files changed
+21
-16
No files matched your search
@@ -36,7 +36,7 @@ export default function ContainerActionBar({ selected, reload }: ContainerAction
|
||||
const getLowestWrapper = () =>
|
||||
config.wrappers.sort((wrapper1, wrapper2) => wrapper1.position - wrapper2.position)[0];
|
||||
|
||||
if (process.env.DISABLE_EDIT_MODE === 'true') {
|
||||
if (process.env.DISABLE_EDIT_MODE?.toLowerCase() === 'true') {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user