New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes locked workflow toggle in event type settings #8926
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if readOnly is not defined, it shouldn't be read-only
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Current Playwright Test Results Summary✅ 98 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 05/16/2023 10:17:12am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 892a3cd Started: 05/16/2023 10:06:37am UTC
|
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking with Seats -- new-booker Reschedule for booking with seats -- old-booker Should reschedule booking with seats and if everyone rescheduled it should be deleted
Retry 1 • Initial Attempt |
0% (0)0 / 334 runsfailed over last 7 days |
76.65% (256)256 / 334 runsflaked over last 7 days |
Booking with Seats -- old-booker Reschedule for booking with seats -- old-booker Should reschedule booking with seats and if everyone rescheduled it should be deleted
Retry 1 • Initial Attempt |
0% (0)0 / 330 runsfailed over last 7 days |
21.82% (72)72 / 330 runsflaked over last 7 days |
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
What does this PR do?
Fixes that the toggle to disable a workflow on a user event type is locked
This was the bug:
Type of change
How should this be tested?