Fix event limit interlinked switches

This commit is contained in:
alishaz-polymath 2023-12-15 22:37:47 +04:00
parent 3b6f0d3a53
commit 1821c7aa3a

View File

@ -173,7 +173,7 @@ export const EventLimitsTab = ({ eventType }: Pick<EventTypeSetupProps, "eventTy
<div className="w-full">
<Label htmlFor="beforeBufferTime">
{t("before_event")}
{shouldLockIndicator("bookingLimits")}
{shouldLockIndicator("beforeBufferTime")}
</Label>
<Controller
name="beforeBufferTime"
@ -209,7 +209,7 @@ export const EventLimitsTab = ({ eventType }: Pick<EventTypeSetupProps, "eventTy
<div className="w-full">
<Label htmlFor="afterBufferTime">
{t("after_event")}
{shouldLockIndicator("bookingLimits")}
{shouldLockIndicator("afterBufferTime")}
</Label>
<Controller
name="afterBufferTime"