Skip to content

Commit 58645cd

Browse files
committed
ui: allow external VM expunge
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 71e9d2f commit 58645cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/config/section/compute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ export default {
449449
message: (record) => { return record.backupofferingid ? 'message.action.expunge.instance.with.backups' : 'message.action.expunge.instance' },
450450
docHelp: 'adminguide/virtual_machines.html#deleting-vms',
451451
dataView: true,
452-
show: (record, store) => { return record.hypervisor !== 'External' && ['Destroyed', 'Expunging'].includes(record.state) && store.features.allowuserexpungerecovervm && record.vmtype !== 'sharedfsvm' }
452+
show: (record, store) => { return ['Destroyed', 'Expunging'].includes(record.state) && store.features.allowuserexpungerecovervm && record.vmtype !== 'sharedfsvm' }
453453
},
454454
{
455455
api: 'destroyVirtualMachine',

0 commit comments

Comments
 (0)