diff --git a/src/common/table-column.js b/src/common/table-column.js index 460eb4b..2711537 100644 --- a/src/common/table-column.js +++ b/src/common/table-column.js @@ -40,7 +40,6 @@ class TableColumn extends Component { checkboxDisabled: null, labelStyle: null, labelModifier: null - }; render() { diff --git a/src/common/table.js b/src/common/table.js index f54335e..78d3b55 100644 --- a/src/common/table.js +++ b/src/common/table.js @@ -83,12 +83,13 @@ class CustomTable extends Component { Download {contentvalue}} > + overlay={Download {contentvalue}} + > ); diff --git a/src/scenario/scenario.js b/src/scenario/scenario.js index 5dc949f..7770b64 100644 --- a/src/scenario/scenario.js +++ b/src/scenario/scenario.js @@ -746,11 +746,20 @@ class Scenario extends React.Component { dataKey='id' modifier={(id, result) => this.modifyResultNoColumn(id, result)} /> - - - + + + this.downloadResultData(index)} /> this.signalsAutoConf(index)} /> - this.getICName(icID)} /> + this.getICName(icID)} + /> } - < div style={{ clear: 'both' }} /> +
Users sharing this scenario
- - + + this.setState({ deleteUserModal: true, deleteUserName: this.state.scenario.users[index].username, modalUserIndex: index })} + onDelete={(index) => this.setState({ + deleteUserModal: true, + deleteUserName: this.state.scenario.users[index].username, + modalUserIndex: index + })} />
@@ -1009,8 +1031,6 @@ class Scenario extends React.Component {
this.closeDeleteUserModal(c)} /> - -
; } }