10153 Maintenance for visual console public link

This commit is contained in:
Jonathan 2023-01-16 14:18:21 +01:00
parent 0722503253
commit 27c2aa7c94
1 changed files with 1 additions and 3 deletions

View File

@ -282,9 +282,7 @@ $visualConsoleItems = VisualConsole::getItemsFromDB(
);
if(props.maintenanceMode != null) {
if(props.maintenanceMode.user !== '<?php echo $config['id_user']; ?>') {
visualConsoleManager.visualConsole.enableMaintenanceMode();
}
visualConsoleManager.visualConsole.enableMaintenanceMode();
}
var controls = document.getElementById('vc-controls');