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' } }) } }] }, {