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 <[email protected]>
AuthorDate: Fri Aug 28 14:33:56 2020 +0530
storage: Allow migration of detached volumes (#625)
Co-authored-by: Pearl Dsilva <[email protected]>
---
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')
},