mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
[UI] Fix group disable action for compute and disk offering (#11602)
This commit is contained in:
parent
6a145358a9
commit
1948f90c2c
@ -136,7 +136,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
show: (record) => { return record.state === 'Active' },
|
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' },
|
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' },
|
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' } }) }
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user