Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit 563fd2c

Browse files
author
Rakesh Venkatesh
committed
Provide option to force delete the project
Provide a cleanup flag so that the project will be deleted only when there are no resources left in the project. If users click on delete project by mistake then everything is deleted.
1 parent 77a59f6 commit 563fd2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/config/section/project.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ export default {
139139
dataView: true,
140140
show: (record, store) => {
141141
return (['Admin', 'DomainAdmin'].includes(store.userInfo.roletype)) || record.isCurrentUserProjectAdmin
142-
}
142+
},
143+
args: ['cleanup']
143144
}
144145
]
145146
}

0 commit comments

Comments
 (0)