diff --git a/ui/src/config/section/project.js b/ui/src/config/section/project.js index ee8f2359b9a..a9bfb954647 100644 --- a/ui/src/config/section/project.js +++ b/ui/src/config/section/project.js @@ -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) {