Config can be empty (#3803)
This commit is contained in:
parent
1e7ae6b2ea
commit
0a3564bb3f
1 changed files with 2 additions and 2 deletions
|
@ -148,12 +148,12 @@ export default function UserFederationLdapSettings() {
|
|||
form.reset({ ...component });
|
||||
form.setValue(
|
||||
"config.periodicChangedUsersSync",
|
||||
component.config?.["changedSyncPeriod"][0] !== "-1"
|
||||
component.config?.["changedSyncPeriod"]?.[0] !== "-1"
|
||||
);
|
||||
|
||||
form.setValue(
|
||||
"config.periodicFullSync",
|
||||
component.config?.["fullSyncPeriod"][0] !== "-1"
|
||||
component.config?.["fullSyncPeriod"]?.[0] !== "-1"
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue