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 c8468df  Use displayname instead of name for vm snapshots (#586)
c8468df is described below

commit c8468df3222945d9d16100ce10d8356c0115f156
Author: Rakesh <[email protected]>
AuthorDate: Mon Aug 17 13:38:34 2020 +0200

    Use displayname instead of name for vm snapshots (#586)
    
    * Printing name for vm snpashots doesnt make much
    sense as it displays vm internal name instead
    of user entered name.
    
    Co-authored-by: Rakesh Venkatesh <[email protected]>
---
 src/config/section/storage.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/config/section/storage.js b/src/config/section/storage.js
index 2b3d62d..a18401b 100644
--- a/src/config/section/storage.js
+++ b/src/config/section/storage.js
@@ -315,8 +315,9 @@ export default {
       permission: ['listVMSnapshot'],
       resourceType: 'VMSnapshot',
       columns: () => {
-        var fields = ['name', 'state', 'type', 'current', 'parentName', 
'created']
+        var fields = ['displayname', 'state', 'name', 'type', 'current', 
'parentName', 'created']
         if (['Admin', 
'DomainAdmin'].includes(store.getters.userInfo.roletype)) {
+          fields.push('domain')
           fields.push('account')
         }
         return fields

Reply via email to