Skip to content

Commit

Permalink
fix(dashboard): invalid button style in undo/redo button (apache#30273)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Sep 17, 2024
1 parent f315a4f commit c33d49e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset-frontend/src/dashboard/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ class Header extends PureComponent {
title={t('Undo the action')}
>
<StyledUndoRedoButton
type="text"
buttonStyle="link"
disabled={undoLength < 1}
onClick={undoLength && onUndo}
>
Expand All @@ -595,7 +595,7 @@ class Header extends PureComponent {
title={t('Redo the action')}
>
<StyledUndoRedoButton
type="text"
buttonStyle="link"
disabled={redoLength < 1}
onClick={redoLength && onRedo}
>
Expand Down

0 comments on commit c33d49e

Please sign in to comment.