Skip to content

Commit 467dbbb

Browse files
mabaasitgribnoysup
andauthored
Update packages/compass-data-modeling/src/components/diagram-editor-toolbar.tsx
Co-authored-by: Sergey Petushkov <[email protected]>
1 parent ffef0b7 commit 467dbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-data-modeling/src/components/diagram-editor-toolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const DiagramEditorToolbar: React.FunctionComponent<{
1212
onRedoClick: () => void;
1313
onExportClick: () => void;
1414
}> = ({ step, hasUndo, onUndoClick, hasRedo, onRedoClick, onExportClick }) => {
15-
if (step === 'NO_DIAGRAM_SELECTED' || step !== 'EDITING') {
15+
if (step !== 'EDITING') {
1616
return null;
1717
}
1818
return (

0 commit comments

Comments
 (0)