Skip to content

Commit

Permalink
fix(console): focus on org socpes tab on app scopes modal reopened (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyijun authored May 10, 2024
1 parent ff65cfb commit 50f336c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 50f336c

Please sign in to comment.