Fix syncMode defult to lower case. (#2931)

This commit is contained in:
Stan Silvert 2022-07-07 15:24:08 -04:00 committed by GitHub
parent 4eb4448878
commit f1705380fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ export const AdvancedSettings = ({ isOIDC, isSAML }: AdvancedSettingsProps) => {
> >
<Controller <Controller
name="config.syncMode" name="config.syncMode"
defaultValue={syncModes[0]} defaultValue={syncModes[0].toUpperCase()}
control={control} control={control}
render={({ onChange, value }) => ( render={({ onChange, value }) => (
<Select <Select