1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

Fix for command selection in IC list

This commit is contained in:
Sonja Happ 2020-10-13 16:57:39 +02:00
parent 70d13c9948
commit 723af74e6d

View file

@ -333,7 +333,12 @@ class InfrastructureComponents extends Component {
<ICAction
runDisabled={this.state.selectedICs.length === 0}
runAction={this.runAction}
actions={[{ id: '0', title: 'Reset', data: { action: 'reset' } }, { id: '1', title: 'Shutdown', data: { action: 'shutdown' } }]} />
actions={[
{ id: '-1', title: 'Select command', data: { action: 'none' } },
{ id: '0', title: 'Reset', data: { action: 'reset' } },
{ id: '1', title: 'Shutdown', data: { action: 'shutdown' } },
]}
/>
</div>
:
<div> </div>