Skip to content

Commit

Permalink
display serial number on peer information
Browse files Browse the repository at this point in the history
Signed-off-by: Edouard Vanbelle <[email protected]>
  • Loading branch information
EdouardVanbelle committed Nov 25, 2024
1 parent c7775ad commit dedbe45
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/app/(dashboard)/peer/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import dayjs from "dayjs";
import { isEmpty, trim } from "lodash";
import {
Cpu,
Barcode,
FlagIcon,
Globe,
History,
Expand Down Expand Up @@ -429,6 +430,17 @@ function PeerInformationCard({ peer }: { peer: Peer }) {
}
value={peer.os}
/>

<Card.ListItem
label={
<>
<Barcode size={16} />
Serial Number
</>
}
value={peer.serial_number}
/>

<Card.ListItem
label={
<>
Expand Down Expand Up @@ -465,6 +477,7 @@ function PeerInformationCard({ peer }: { peer: Peer }) {
}
value={peer.ui_version?.replace("netbird-desktop-ui/", "")}
/>

</Card.List>
</Card>
);
Expand Down

0 comments on commit dedbe45

Please sign in to comment.