fix locked toggle (#8926)
Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
08956e54c5
commit
38fb7a3f77
1 file changed
+1
-1
@@ -197,7 +197,7 @@ function EventWorkflowsTab(props: Props) {
|
||||
const dataWf = data.workflows.find((wf) => wf.id === workflowOnEventType.id);
|
||||
return {
|
||||
...workflowOnEventType,
|
||||
readOnly: isChildrenManagedEventType && dataWf?.teamId ? true : dataWf?.readOnly ?? true,
|
||||
readOnly: isChildrenManagedEventType && dataWf?.teamId ? true : dataWf?.readOnly ?? false,
|
||||
} as WorkflowType;
|
||||
});
|
||||
const disabledWorkflows = data.workflows.filter(
|
||||
|
||||
Reference in new issue
Block a user