mirror of https://github.com/apache/cloudstack.git
compute: hide `reset SSH keypair` button if VM is not Stopped (#646)
Fixes #643 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
8d0c47b012
commit
b5a0380409
|
|
@ -332,7 +332,7 @@ export default {
|
|||
docHelp: 'adminguide/virtual_machines.html#resetting-ssh-keys',
|
||||
dataView: true,
|
||||
args: ['keypair', 'account', 'domainid'],
|
||||
show: (record) => { return ['Running', 'Stopped'].includes(record.state) },
|
||||
show: (record) => { return ['Stopped'].includes(record.state) },
|
||||
mapping: {
|
||||
keypair: {
|
||||
api: 'listSSHKeyPairs',
|
||||
|
|
|
|||
Loading…
Reference in New Issue