Compare commits

...
1 Commits
Author SHA1 Message Date
Maycon Santos f29c915fc2 fix settings update blank page 2023-12-11 18:07:05 +01:00
+1 -1
View File
@@ -430,7 +430,7 @@ export const Settings = () => {
updatedAccount.data.settings.jwt_groups_claim_name,
groups_propagation_enabled:
updatedAccount.data.settings.groups_propagation_enabled,
peer_approval_enabled: updatedAccount.data.settings.extra.peer_approval_enabled
peer_approval_enabled: updatedAccount.data.settings.extra? updatedAccount.data.settings.extra.peer_approval_enabled : false,
} as FormAccount;
setFormAccount(fAccount);
} else if (updatedAccount.error) {