Scheduling infrastructure for absolutely everyone.
fix: incorrect week-start input value (#16057)
Mohit9953d73444ba
diff --git a/packages/features/ee/users/components/UserForm.tsx b/packages/features/ee/users/components/UserForm.tsxindex 4d18849152c..c88b481301e 100644--- a/packages/features/ee/users/components/UserForm.tsx+++ b/packages/features/ee/users/components/UserForm.tsx@@ -96,7 +96,9 @@ export const UserForm = ({timeZone: defaultValues?.timeZone || "",weekStart: {value: defaultValues?.weekStart || weekStartOptions[0].value,- label: nameOfDay(localeProp, defaultValues?.weekStart === "Sunday" ? 0 : 1),+ label:+ weekStartOptions.find((option) => option.value === defaultValues?.weekStart)?.label ||+ weekStartOptions[0].label,},role: {value: defaultValues?.role || userRoleOptions[0].value,