You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/08/28 09:04:04 UTC

[cloudstack-primate] branch master updated: storage: Allow migration of detached volumes (#625)

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 b2385f3  storage: Allow migration of detached volumes (#625)
b2385f3 is described below

commit b2385f30ba4ace7a062e9dc69f4f5ff837de2893
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Fri Aug 28 14:33:56 2020 +0530

    storage: Allow migration of detached volumes (#625)
    
    Co-authored-by: Pearl Dsilva <pe...@shapeblue.com>
---
 src/config/section/storage.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config/section/storage.js b/src/config/section/storage.js
index 2e7c205..73337f1 100644
--- a/src/config/section/storage.js
+++ b/src/config/section/storage.js
@@ -168,7 +168,7 @@ export default {
           label: 'label.migrate.volume',
           args: ['volumeid', 'storageid', 'livemigrate'],
           dataView: true,
-          show: (record, store) => { return record.state === 'Ready' && ['Admin'].includes(store.userInfo.roletype) && record.virtualmachineid },
+          show: (record, store) => { return record.state === 'Ready' && ['Admin'].includes(store.userInfo.roletype) },
           popup: true,
           component: () => import('@/views/storage/MigrateVolume.vue')
         },