Added label for "Has access to" (#19061)

This commit is contained in:
Erik Jan de Wit 2023-03-21 12:06:24 +01:00 committed by GitHub
parent a63438c30e
commit 31d588ea9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -59,6 +59,7 @@
"groupDescriptionLabel": "View groups that you are associated with",
"groupLabel": "Groups",
"groups": "Groups",
"hasAccessTo": "Has access to",
"infoMessage": "By clicking Remove Access, you will remove granted permissions of this application. This application will no longer use your information.",
"internalApp": "Internal",
"inUse": "In use",

View file

@ -185,7 +185,9 @@ const Applications = () => {
{application.consent && (
<>
<DescriptionListGroup>
<DescriptionListTerm>Has access to</DescriptionListTerm>
<DescriptionListTerm>
{t("hasAccessTo")}
</DescriptionListTerm>
{application.consent.grantedScopes.map((scope) => (
<DescriptionListDescription key={`scope${scope.id}`}>
<CheckIcon /> {t(scope.name as TFuncKey)}