Skip to content

Commit 15b0f03

Browse files
authored
Fallback to display text consent scopes (#40789)
Closes #40788 Signed-off-by: Alexis Rico <[email protected]>
1 parent 6bf8e1c commit 15b0f03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/apps/account-ui/src/applications/Applications.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ export const Applications = () => {
216216
</DescriptionListTerm>
217217
{application.consent.grantedScopes.map((scope) => (
218218
<DescriptionListDescription key={`scope${scope.id}`}>
219-
<CheckIcon /> {t(scope.name as TFuncKey)}
219+
<CheckIcon />{" "}
220+
{t(scope.name as TFuncKey, scope.displayText)}
220221
</DescriptionListDescription>
221222
))}
222223
</DescriptionListGroup>

0 commit comments

Comments
 (0)