mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: hide Cleanup/Expunge when delete a CloudManaged CKS cluster (#8593)
This commit is contained in:
parent
3de1f8b4ba
commit
f7b95cd8f0
@ -612,6 +612,9 @@ export default {
|
||||
groupAction: true,
|
||||
popup: true,
|
||||
args: (record, store, group) => {
|
||||
if (record.clustertype === 'CloudManaged') {
|
||||
return []
|
||||
}
|
||||
return (['Admin'].includes(store.userInfo.roletype) || store.features.allowuserexpungerecovervm)
|
||||
? ['cleanup', 'expunge'] : ['cleanup']
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user