Mark Self
parent
7df29cbce3
commit
f853605898
|
@ -61,6 +61,7 @@ export class Application extends React.Component<ApplicationProps, ApplicationSt
|
||||||
</Tr>
|
</Tr>
|
||||||
</Thead>
|
</Thead>
|
||||||
<Tbody>
|
<Tbody>
|
||||||
|
{ this.state.Status.Self.Self = true }
|
||||||
<Peer {...this.state.Status.Self} />
|
<Peer {...this.state.Status.Self} />
|
||||||
{
|
{
|
||||||
Object.values(this.state.Status.Peer)
|
Object.values(this.state.Status.Peer)
|
||||||
|
@ -107,7 +108,9 @@ class Peer extends React.Component<TailscalePeer> {
|
||||||
tags
|
tags
|
||||||
}
|
}
|
||||||
</Td>
|
</Td>
|
||||||
<Td>{this.props.Active
|
<Td>{this.props.Self
|
||||||
|
? "Self"
|
||||||
|
: this.props.Active
|
||||||
? this.props.CurAddr != ""
|
? this.props.CurAddr != ""
|
||||||
? "Direct"
|
? "Direct"
|
||||||
: "Relay: " + this.props.Relay
|
: "Relay: " + this.props.Relay
|
||||||
|
|
|
@ -18,6 +18,7 @@ export enum OS {
|
||||||
}
|
}
|
||||||
|
|
||||||
export type TailscalePeer = {
|
export type TailscalePeer = {
|
||||||
|
Self: boolean;
|
||||||
ID: string;
|
ID: string;
|
||||||
PublicKey: string;
|
PublicKey: string;
|
||||||
HostName: string;
|
HostName: string;
|
||||||
|
|
Loading…
Reference in New Issue