diff --git a/client/extensions/woocommerce/components/action-header/actions.js b/client/extensions/woocommerce/components/action-header/actions.js index fad5d3724fd1d..18cccb7e048e9 100644 --- a/client/extensions/woocommerce/components/action-header/actions.js +++ b/client/extensions/woocommerce/components/action-header/actions.js @@ -88,7 +88,13 @@ class ActionButtons extends Component { }; getDropdown = () => { + const isSingleButton = React.Children.count( this.props.children ) === 1; const primaryLabel = this.props.primaryLabel; + + if ( ! primaryLabel || isSingleButton ) { + return this.props.children; + } + const buttons = React.Children.toArray( this.props.children ); const primary = buttons.pop(); const dropdownOptions = buttons.map( function( child, index ) {