mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 01:35:18 +00:00
disable console button for templates
This commit is contained in:
parent
fe64be90d2
commit
4365549dfa
@ -244,6 +244,7 @@ Ext.define('PVE.qemu.Config', {
|
||||
shutdownBtn.setDisabled(!caps.vms['VM.PowerMgmt'] || status !== 'running');
|
||||
stopBtn.setDisabled(!caps.vms['VM.PowerMgmt'] || status === 'stopped');
|
||||
removeBtn.setDisabled(!caps.vms['VM.Allocate'] || status !== 'stopped');
|
||||
consoleBtn.setDisabled(template);
|
||||
});
|
||||
|
||||
me.on('afterrender', function() {
|
||||
|
Loading…
Reference in New Issue
Block a user