diff --git a/src/pages/flowEditor/components/actionBar.tsx b/src/pages/flowEditor/components/actionBar.tsx index 99d9c88..3ba45f9 100644 --- a/src/pages/flowEditor/components/actionBar.tsx +++ b/src/pages/flowEditor/components/actionBar.tsx @@ -7,6 +7,7 @@ import { useSelector, useDispatch } from 'react-redux'; const ButtonGroup = Button.Group; interface ActionBarProps { + useDefault: boolean; onSave?: () => void; onUndo?: () => void; onRedo?: () => void; @@ -17,6 +18,7 @@ interface ActionBarProps { } const ActionBar: React.FC = ({ + useDefault, onSave, onUndo, onRedo, @@ -39,50 +41,54 @@ const ActionBar: React.FC = ({ return (
- - - - - - - - + {useDefault && ( + <> + + + + + + + + + + )}
); };