mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -05:00
fix(console): focus on org socpes tab on app scopes modal reopened (#5839)
This commit is contained in:
parent
ff65cfb75b
commit
50f336c7d3
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ function ApplicationScopesAssignmentModal({ isOpen, onClose, applicationId, scop
|
|||
clearSelectedData();
|
||||
setActiveTab(
|
||||
scopeLevel === ScopeLevel.Organization
|
||||
? ApplicationUserConsentScopeType.OrganizationResourceScopes
|
||||
? ApplicationUserConsentScopeType.OrganizationScopes
|
||||
: ApplicationUserConsentScopeType.UserScopes
|
||||
);
|
||||
}, [clearSelectedData, onClose, scopeLevel, setActiveTab]);
|
||||
|
|
Loading…
Add table
Reference in a new issue