Skip to content

Commit dfb54fe

Browse files
committed
prevent event edit on publish
1 parent 8e9aa46 commit dfb54fe

File tree

1 file changed

+1
-1
lines changed
  • packages/frontend/src/components/FlowStep

1 file changed

+1
-1
lines changed

packages/frontend/src/components/FlowStep/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export default function FlowStep(
198198
[deleteStep, step.id],
199199
)
200200

201-
const isEditable = actionsOrTriggers.length > 1
201+
const isEditable = !readOnly && actionsOrTriggers.length > 1
202202
const onEditEvent = useCallback<MouseEventHandler>(
203203
(e) => {
204204
e.stopPropagation()

0 commit comments

Comments
 (0)