1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

(bug) list of OIDC scopes are loading indefinitely

This commit is contained in:
Sylvain 2022-06-06 11:44:16 +02:00
parent 1b5bb662ac
commit 667272fab6
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
- Updated sidekiq-unique-jobs to 7.1.23 to get rid of Sidekiq's default_worker_options deprecation warning
- Fix a bug: unable to edit OIDC provider
- Fix a bug: list of OIDC scopes are loading indefinitely
## v5.4.3 2022 June 6

View File

@ -72,7 +72,7 @@ export const OpenidConnectForm = <TFieldValues extends FieldValues, TContext ext
const unlisted = difference(current, scopesAvailable);
callback(scopesAvailable.concat(unlisted).map(scope => ({ value: scope, label: scope })));
} else {
current.map(scope => ({ value: scope, label: scope }));
callback(current.map(scope => ({ value: scope, label: scope })));
}
};