This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new ba6273e  compute: hide `reset SSH keypair` button if VM is not Stopped 
(#646)
ba6273e is described below

commit ba6273ed515c8cc003c2a2ba3276151deb1ceb36
Author: Hoang Nguyen <[email protected]>
AuthorDate: Tue Sep 1 17:40:11 2020 +0700

    compute: hide `reset SSH keypair` button if VM is not Stopped (#646)
    
    Fixes #643
---
 src/config/section/compute.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config/section/compute.js b/src/config/section/compute.js
index e411538..db43aff 100644
--- a/src/config/section/compute.js
+++ b/src/config/section/compute.js
@@ -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',

Reply via email to