Skip to content

Commit

Permalink
Add longName field to ManageNodePage
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmcquilkin committed Mar 7, 2024
1 parent bfd04f5 commit 356b444
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/pages/ManageNodePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ export const ManageNodePage = () => {
return `0x${nodeNum?.toString(16)}`;
},
},
{
id: t("manageNodes.longName"),
accessorFn: (n) => n.user?.longName ?? t("manageNodes.noUserInfo"),
},
{
id: t("manageNodes.shortName"),
accessorFn: (n) => n.user?.shortName ?? t("manageNodes.noUserInfo"),
Expand Down
1 change: 1 addition & 0 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"manageNodes": {
"title": "Manage Nodes",
"id": "ID",
"longName": "Long Name",
"shortName": "Short Name",
"noUserInfo": "No user info",
"lastHeard": "Last Heard",
Expand Down

0 comments on commit 356b444

Please sign in to comment.