From 1948f90c2c7bfcb62d3eccc3b3aa86a522777eb4 Mon Sep 17 00:00:00 2001 From: Manoj Kumar Date: Mon, 15 Sep 2025 15:27:59 +0530 Subject: [PATCH] [UI] Fix group disable action for compute and disk offering (#11602) --- ui/src/config/section/offering.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/config/section/offering.js b/ui/src/config/section/offering.js index 2cef270ec3e..d958522b333 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' } }) } }] }, { @@ -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' } }) } }] }, {