refs #1884 Update command enabling logic to include 'create-image' for active clients
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
parent
a418d26615
commit
88aaf39b65
|
@ -77,7 +77,7 @@ export class ExecuteCommandComponent implements OnInit {
|
|||
command.disabled = command.slug !== 'power-on';
|
||||
} else {
|
||||
// Habilitar comandos específicos para un cliente que no está apagado ni desconectado
|
||||
command.disabled = !['reboot', 'login', 'deploy-image', 'partition', 'run-script'].includes(command.slug);
|
||||
command.disabled = !['power-off', 'reboot', 'login', 'create-image', 'deploy-image', 'partition', 'run-script'].includes(command.slug);
|
||||
}
|
||||
} else {
|
||||
// Si los estados son distintos
|
||||
|
|
Loading…
Reference in New Issue