Skip to content

Commit

Permalink
feat(ui): update attributes title (#886)
Browse files Browse the repository at this point in the history
Co-authored-by: Vu Van Duc <[email protected]>
  • Loading branch information
Sotatek-DukeVu and Vu Van Duc authored Dec 24, 2024
1 parent a0cf099 commit ca7dafc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/locales/en/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@
"about": "About {{ type }}"
},
"attributes": {
"fullaccess": "Full access",
"title": "Credential Details",
"label": "Attributes",
"description": "Essential details shared by the issuer, which verify and describe key information in this credential.",
"details": "Attribute details",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const CardDetailsExpandAttributes = ({
slot="header"
>
<span>
{i18n.t("tabs.credentials.details.attributes.fullaccess")}
{i18n.t("tabs.credentials.details.attributes.title")}
</span>
</IonItem>
<div slot="content" className="nested-list-item container-nested-list-item">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ describe("Creds content", () => {

await waitFor(() => {
expect(getByTestId("credential-attribute-details-modal")).toBeVisible();
expect(getByText(EN_TRANSLATIONS.tabs.credentials.details.attributes.fullaccess)).toBeVisible();
expect(getByText(EN_TRANSLATIONS.tabs.credentials.details.attributes.title)).toBeVisible();
});
});
});

0 comments on commit ca7dafc

Please sign in to comment.