You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by sh...@apache.org on 2022/09/07 05:43:53 UTC

[cloudstack] branch 4.17 updated: UI: fix bulk delete project with cleanup (#6708)

This is an automated email from the ASF dual-hosted git repository.

shwstppr pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.17 by this push:
     new fe16be0408 UI: fix bulk delete project with cleanup (#6708)
fe16be0408 is described below

commit fe16be040883d411d395884f42ae462711e60ce2
Author: Wei Zhou <we...@apache.org>
AuthorDate: Wed Sep 7 07:43:45 2022 +0200

    UI: fix bulk delete project with cleanup (#6708)
---
 ui/src/config/section/project.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/config/section/project.js b/ui/src/config/section/project.js
index ee8f2359b9..a9bfb95464 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) {