Skip to content

Commit

Permalink
fix bug with tooltip text
Browse files Browse the repository at this point in the history
  • Loading branch information
abe garcia committed Jul 5, 2023
1 parent 4f5a29b commit bc8c924
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,14 @@ export const PauseResumeButton = ({
return (
<Fragment>
<Tooltip title={<Typography>{options[selectedIndex].tooltip}</Typography>}>
<ButtonGroup
onMouseEnter={handleHover}
onMouseLeave={handleHover}
variant="contained"
ref={anchorRef}
disabled={options[selectedIndex].disabled}
>
<ButtonGroup onMouseEnter={handleHover} onMouseLeave={handleHover} variant="contained" ref={anchorRef}>
<Button
style={{
color: 'white',
backgroundColor: computeBtnColor(),
}}
size="small"
disabled={executionIds.length === 0}
onClick={handleToggle}
>
<ArrowDropDownIcon />
Expand All @@ -104,6 +99,7 @@ export const PauseResumeButton = ({
color: 'white',
backgroundColor: computeBtnColor(),
}}
disabled={options[selectedIndex].disabled}
onClick={handleButtonClick}
>
{options[selectedIndex].text}
Expand Down

0 comments on commit bc8c924

Please sign in to comment.