mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
show display name and custom display name in network visualiser
This commit is contained in:
parent
000b515442
commit
1c1d820bb2
1 changed files with 6 additions and 4 deletions
|
|
@ -322,13 +322,14 @@ export default {
|
|||
|
||||
node.label = name;
|
||||
node.title = [
|
||||
`Name: ${name}`,
|
||||
`Name: ${announce.display_name}`,
|
||||
announce.custom_display_name != null ? `Custom Name: ${announce.custom_display_name}` : null,
|
||||
`Aspect: ${announce.aspect}`,
|
||||
`Identity: ${announce.identity_hash}`,
|
||||
`Destination: ${announce.destination_hash}`,
|
||||
`Path: ${entry.hops} ${entry.hops === 1 ? 'Hop' : 'Hops'} via ${entry.interface}`,
|
||||
`Announced At: ${announce.updated_at}`,
|
||||
].join("\n");
|
||||
].filter((line) => line != null).join("\n");
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -341,13 +342,14 @@ export default {
|
|||
|
||||
node.label = name;
|
||||
node.title = [
|
||||
`Name: ${name}`,
|
||||
`Name: ${announce.display_name}`,
|
||||
announce.custom_display_name != null ? `Custom Name: ${announce.custom_display_name}` : null,
|
||||
`Aspect: ${announce.aspect}`,
|
||||
`Identity: ${announce.identity_hash}`,
|
||||
`Destination: ${announce.destination_hash}`,
|
||||
`Path: ${entry.hops} ${entry.hops === 1 ? 'Hop' : 'Hops'} via ${entry.interface}`,
|
||||
`Announced At: ${announce.updated_at}`,
|
||||
].join("\n");
|
||||
].filter((line) => line != null).join("\n");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue