mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-10-26 19:01:43 -04:00
code cleanup
This commit is contained in:
parent
ba6a9774be
commit
bbb03b8b7e
1 changed files with 3 additions and 7 deletions
|
|
@ -123,13 +123,9 @@ export default {
|
|||
// determine label
|
||||
var label = entry.interface_name ?? entry.name;
|
||||
|
||||
// we want to show the full info instead of just "Client on Name" for TCPServerInterface clients
|
||||
if(entry.parent_interface_name != null){
|
||||
label = entry.name;
|
||||
}
|
||||
|
||||
// we also want to show the full info for LocalServerInterface
|
||||
if(entry.type === "LocalServerInterface"){
|
||||
// we want to show the full info for LocalServerInterface
|
||||
// we also want to show the full info instead of just "Client on Name" for TCPServerInterface clients
|
||||
if(entry.type === "LocalServerInterface" || entry.parent_interface_name != null){
|
||||
label = entry.name;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue