Skip to content

Commit f7b95cd

Browse files
UI: hide Cleanup/Expunge when delete a CloudManaged CKS cluster (#8593)
1 parent 3de1f8b commit f7b95cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/config/section/compute.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,9 @@ export default {
612612
groupAction: true,
613613
popup: true,
614614
args: (record, store, group) => {
615+
if (record.clustertype === 'CloudManaged') {
616+
return []
617+
}
615618
return (['Admin'].includes(store.userInfo.roletype) || store.features.allowuserexpungerecovervm)
616619
? ['cleanup', 'expunge'] : ['cleanup']
617620
},

0 commit comments

Comments
 (0)