diff --git a/src/app.tsx b/src/app.tsx index f006e12..4d83146 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -105,7 +105,7 @@ class Peer extends React.Component { var tags = "-" if (this.props.Tags) { - const mapped_items = this.props.Tags?.map(t => { return t }) + const mapped_items = this.props.Tags?.map(t => { return t.split(":")[1] }) tags = mapped_items.join(', ') } @@ -140,7 +140,10 @@ class Peer extends React.Component { : "-" } {this.props.OS} - {this.props.TxBytes} / {this.props.RxBytes} + {this.props.Self + ? "-" + : "" + this.props.TxBytes + " / " + this.props.RxBytes + } ); } }