ui: Fix migrate systemVM icon when stopped (#6337)

This commit is contained in:
Pearl Dsilva 2022-04-29 16:14:47 +05:30 committed by GitHub
parent 3bd723ca06
commit 76b3066d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ export default {
},
{
api: 'migrateSystemVm',
icon: 'drag',
icon: 'drag-outlined',
label: 'label.action.migrate.systemvm.to.ps',
dataView: true,
show: (record, store) => { return ['Stopped'].includes(record.state) && ['VMware'].includes(record.hypervisor) },