diff --git a/src/common/icon-button.js b/src/common/icon-button.js index 2a65b95..438b206 100644 --- a/src/common/icon-button.js +++ b/src/common/icon-button.js @@ -43,9 +43,9 @@ class IconButton extends React.Component { button = btn; } else { button = {this.props.tooltip}} > + overlay={{this.props.tooltip}} > {btn} } diff --git a/src/common/icon-toggle-button.js b/src/common/icon-toggle-button.js index e9adc8a..031caa3 100644 --- a/src/common/icon-toggle-button.js +++ b/src/common/icon-toggle-button.js @@ -28,9 +28,9 @@ class IconToggleButton extends React.Component { let tooltip = this.props.checked ? this.props.tooltipChecked : this.props.tooltipUnchecked; return {tooltip}} > + overlay={{tooltip}} > child.props.onChangeLock(index)} checked={isLocked} checkedIcon='lock' @@ -188,7 +188,7 @@ class CustomTable extends Component { cell.push( Component Configurations this.addConfig()} icon='plus' @@ -323,7 +323,7 @@ class ConfigTable extends Component { iconStyle={iconStyle} /> this.setState({ importConfigModal: true })} icon='upload' diff --git a/src/dashboard/dashboard-button-group.js b/src/dashboard/dashboard-button-group.js index ddacfa0..7e2ab1f 100644 --- a/src/dashboard/dashboard-button-group.js +++ b/src/dashboard/dashboard-button-group.js @@ -38,7 +38,7 @@ class DashboardButtonGroup extends React.Component { if (locked) { return Dashboards this.setState({newDashboardModal: true})} icon='plus' @@ -162,7 +162,7 @@ class DashboardTable extends Component { iconStyle={iconStyle} /> this.setState({importDashboardModal: true})} icon='upload' diff --git a/src/dashboard/dashboard.js b/src/dashboard/dashboard.js index ee838f3..077de3f 100644 --- a/src/dashboard/dashboard.js +++ b/src/dashboard/dashboard.js @@ -518,7 +518,7 @@ class Dashboard extends Component { {this.state.dashboard.name} this.setState({newModal: true})} icon='plus' + buttonStyle={buttonStyle} + iconStyle={iconStyle} /> this.setState({importModal: true})} icon='upload' + buttonStyle={buttonStyle} + iconStyle={iconStyle} /> : diff --git a/src/result/result-table.js b/src/result/result-table.js index a38d160..96dd765 100644 --- a/src/result/result-table.js +++ b/src/result/result-table.js @@ -169,7 +169,7 @@ class ResultTable extends Component {

Results this.setState({ newResultModal: true })} icon='plus' diff --git a/src/scenario/scenario-users-table.js b/src/scenario/scenario-users-table.js index 26eb06f..2cefc5b 100644 --- a/src/scenario/scenario-users-table.js +++ b/src/scenario/scenario-users-table.js @@ -134,7 +134,7 @@ class ScenarioUsersTable extends Component { this.addUser()} icon='plus' diff --git a/src/scenario/scenario.js b/src/scenario/scenario.js index ac618d7..d9e9d4c 100644 --- a/src/scenario/scenario.js +++ b/src/scenario/scenario.js @@ -154,7 +154,7 @@ class Scenario extends React.Component { return
this.onChangeLock()} checked={this.state.scenario.isLocked} checkedIcon='lock' diff --git a/src/scenario/scenarios.js b/src/scenario/scenarios.js index 89b52d9..51f8d3e 100644 --- a/src/scenario/scenarios.js +++ b/src/scenario/scenarios.js @@ -257,7 +257,7 @@ class Scenarios extends Component {

Scenarios this.setState({ newModal: true })} icon='plus' @@ -265,7 +265,7 @@ class Scenarios extends Component { iconStyle={iconStyle} /> this.setState({ importModal: true })} icon='upload' diff --git a/src/user/users.js b/src/user/users.js index 5d97e68..85bfc7b 100644 --- a/src/user/users.js +++ b/src/user/users.js @@ -119,7 +119,7 @@ class Users extends Component {

Users this.setState({ newModal: true })} icon='plus'