Merge pull request #515 from automatisch/issue-510
fix: disable adding new step in published flow
This commit is contained in:
@@ -108,7 +108,7 @@ export default function Editor(props: EditorProps): React.ReactElement {
|
||||
onChange={onStepChange}
|
||||
/>
|
||||
|
||||
<IconButton onClick={() => addStep(step.id)} color="primary" disabled={creationInProgress}>
|
||||
<IconButton onClick={() => addStep(step.id)} color="primary" disabled={creationInProgress || flow.active}>
|
||||
<AddIcon />
|
||||
</IconButton>
|
||||
</React.Fragment>
|
||||
|
Reference in New Issue
Block a user