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]);