Add feature for edit mode password

This commit is contained in:
ajnart
2023-03-02 16:40:50 +09:00
parent 05423440f3
commit 0b7f407b8c
6 changed files with 138 additions and 17 deletions

View File

@@ -54,7 +54,7 @@ export default function DockerMenuButton(props: any) {
}, 300);
}
if (!dockerEnabled) {
if (!dockerEnabled || process.env.DISABLE_EDIT_MODE === 'true') {
return null;
}