From 5f366a06dc0fd8fd18bec88de189da0b8e4c7b10 Mon Sep 17 00:00:00 2001 From: Manoj Kumar Date: Wed, 10 Sep 2025 12:25:11 +0530 Subject: [PATCH 1/2] Fix bulk disable compute and disk offering --- ui/src/config/section/offering.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/config/section/offering.js b/ui/src/config/section/offering.js index 2cef270ec3e6..85a11d4ba001 100644 --- a/ui/src/config/section/offering.js +++ b/ui/src/config/section/offering.js @@ -218,7 +218,7 @@ export default { } }, show: (record) => { return record.state === 'Active' }, - groupMap: (selection) => { return selection.map(x => { return { id: x } }) } + groupMap: (selection) => { return selection.map(x => { return { id: x, state: 'Inactive' } }) } }] }, { @@ -325,7 +325,7 @@ export default { } }, show: (record) => { return record.state === 'Active' }, - groupMap: (selection) => { return selection.map(x => { return { id: x } }) } + groupMap: (selection) => { return selection.map(x => { return { id: x, state: 'Inactive' } }) } }] }, { From e20a90351c45622ee86800d6e41801dd4570d5cd Mon Sep 17 00:00:00 2001 From: Manoj Kumar Date: Wed, 10 Sep 2025 20:33:27 +0530 Subject: [PATCH 2/2] add state param for systemoffering --- ui/src/config/section/offering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/config/section/offering.js b/ui/src/config/section/offering.js index 85a11d4ba001..d958522b333f 100644 --- a/ui/src/config/section/offering.js +++ b/ui/src/config/section/offering.js @@ -136,7 +136,7 @@ export default { } }, show: (record) => { return record.state === 'Active' }, - groupMap: (selection) => { return selection.map(x => { return { id: x } }) } + groupMap: (selection) => { return selection.map(x => { return { id: x, state: 'Inactive' } }) } }] }, {