diff --git a/src/components/ToolbarBottomActions.jsx b/src/components/ToolbarBottomActions.jsx index 7e20bd2..e20a4be 100644 --- a/src/components/ToolbarBottomActions.jsx +++ b/src/components/ToolbarBottomActions.jsx @@ -14,7 +14,7 @@ function ToolbarBottomActions (props) { {/* isEnabled={this.props.viewFilters.routes} */} {/* /> */} {/* { - const classes = (isEnabled) ? 'action-button enabled' : 'action-button disabled'; +const SitesIcon = ({ isActive, isDisabled, onClickHandler }) => { + let classes = (isActive) ? 'action-button enabled' : 'action-button'; + if (isDisabled) { + classes = 'action-button disabled' + } return (