UI: fix bulk delete project with cleanup (#6708)

This commit is contained in:
Wei Zhou 2022-09-07 07:43:45 +02:00 committed by GitHub
parent b831f23f5f
commit fe16be0408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ export default {
},
groupAction: true,
popup: true,
groupMap: (selection) => { return selection.map(x => { return { id: x } }) },
groupMap: (selection, values) => { return selection.map(x => { return { id: x, cleanup: values.cleanup || null } }) },
args: (record, store) => {
const fields = []
if (store.apis.deleteProject.params.filter(x => x.name === 'cleanup').length > 0) {