Skip to content

Commit 5f366a0

Browse files
committed
Fix bulk disable compute and disk offering
1 parent 7044564 commit 5f366a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/config/section/offering.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export default {
218218
}
219219
},
220220
show: (record) => { return record.state === 'Active' },
221-
groupMap: (selection) => { return selection.map(x => { return { id: x } }) }
221+
groupMap: (selection) => { return selection.map(x => { return { id: x, state: 'Inactive' } }) }
222222
}]
223223
},
224224
{
@@ -325,7 +325,7 @@ export default {
325325
}
326326
},
327327
show: (record) => { return record.state === 'Active' },
328-
groupMap: (selection) => { return selection.map(x => { return { id: x } }) }
328+
groupMap: (selection) => { return selection.map(x => { return { id: x, state: 'Inactive' } }) }
329329
}]
330330
},
331331
{

0 commit comments

Comments
 (0)