mirror of
https://github.com/logto-io/logto.git
synced 2025-02-03 21:48:55 -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();
|
clearSelectedData();
|
||||||
setActiveTab(
|
setActiveTab(
|
||||||
scopeLevel === ScopeLevel.Organization
|
scopeLevel === ScopeLevel.Organization
|
||||||
? ApplicationUserConsentScopeType.OrganizationResourceScopes
|
? ApplicationUserConsentScopeType.OrganizationScopes
|
||||||
: ApplicationUserConsentScopeType.UserScopes
|
: ApplicationUserConsentScopeType.UserScopes
|
||||||
);
|
);
|
||||||
}, [clearSelectedData, onClose, scopeLevel, setActiveTab]);
|
}, [clearSelectedData, onClose, scopeLevel, setActiveTab]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue