Skip to content

Commit

Permalink
Merge pull request OHIF#794 from trustsitka/fix-ExpandableToolMenu-props
Browse files Browse the repository at this point in the history
fix: 🐛 Update for changes in ExpandableToolMenu props
  • Loading branch information
dannyrb authored Aug 22, 2019
2 parents 9138b55 + ee68b7b commit ba20093
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platform/viewer/src/connectedComponents/PluginSwitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class PluginSwitch extends Component {
render() {
return (
<div className="PluginSwitch">
<ExpandableToolMenu buttons={this.props.buttons} text={'View'} />
<ExpandableToolMenu buttons={this.props.buttons} label={'View'} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion platform/viewer/src/connectedComponents/ToolbarRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function _getButtonComponents(toolbarButtons, activeButtons) {
return (
<ExpandableToolMenu
key={button.id}
text={button.label}
label={button.label}
icon={button.icon}
buttons={childButtons}
activeCommand={activeCommand}
Expand Down

0 comments on commit ba20093

Please sign in to comment.