|
|
@ -160,6 +160,7 @@ class PageToolbarSection extends Component {
|
|
|
|
!!overflowItems.length &&
|
|
|
|
!!overflowItems.length &&
|
|
|
|
<Menu>
|
|
|
|
<Menu>
|
|
|
|
<ToolbarMenuButton
|
|
|
|
<ToolbarMenuButton
|
|
|
|
|
|
|
|
className={styles.overflowMenuButton}
|
|
|
|
iconName={icons.OVERFLOW}
|
|
|
|
iconName={icons.OVERFLOW}
|
|
|
|
text="More"
|
|
|
|
text="More"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
@ -179,14 +180,13 @@ class PageToolbarSection extends Component {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<MenuItem
|
|
|
|
<MenuItem
|
|
|
|
key={label}
|
|
|
|
key={label}
|
|
|
|
isDisabled={isDisabled}
|
|
|
|
isDisabled={isDisabled || isSpinning}
|
|
|
|
{...otherProps}
|
|
|
|
{...otherProps}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<SpinnerIcon
|
|
|
|
<SpinnerIcon
|
|
|
|
className={styles.overflowMenuItemIcon}
|
|
|
|
className={styles.overflowMenuItemIcon}
|
|
|
|
name={iconName}
|
|
|
|
name={iconName}
|
|
|
|
spinningName={spinningName}
|
|
|
|
spinningName={spinningName}
|
|
|
|
isDisabled={isDisabled}
|
|
|
|
|
|
|
|
isSpinning={isSpinning}
|
|
|
|
isSpinning={isSpinning}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
{label}
|
|
|
|
{label}
|
|
|
|