From 11921d67770d98ff0f3256ef3e4f98923c8c061d Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Fri, 10 May 2024 06:06:33 +0800 Subject: [PATCH] fix(console): focus on org socpes tab on app scopes assignment modal opened --- .../PermissionsCard/ApplicationScopesAssignmentModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/Permissions/PermissionsCard/ApplicationScopesAssignmentModal/index.tsx b/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/Permissions/PermissionsCard/ApplicationScopesAssignmentModal/index.tsx index 22e3cd71c4b..6d01bc65608 100644 --- a/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/Permissions/PermissionsCard/ApplicationScopesAssignmentModal/index.tsx +++ b/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/Permissions/PermissionsCard/ApplicationScopesAssignmentModal/index.tsx @@ -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]);