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

only external ICs should be controllable. not the opposite way

This commit is contained in:
Steffen Vogel 2021-03-08 13:41:40 +01:00
parent d88698f802
commit 89ca1b5682

View file

@ -826,7 +826,7 @@ class Scenario extends React.Component {
<Table data={this.state.configs}>
<TableColumn
checkbox
checkboxDisabled={(index) => this.usesExternalIC(index)}
checkboxDisabled={(index) => !this.usesExternalIC(index)}
onChecked={(index, event) => this.onConfigChecked(index, event)}
width='30' />
<TableColumn title='Name' dataKey='name' />