show the validator key on hover
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
7f5382c163
commit
c9640eea21
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-telemetry-frontend",
|
"name": "ghost-telemetry-frontend",
|
||||||
"version": "0.1.16",
|
"version": "0.1.17",
|
||||||
"author": "Uncle f4tso <f4ts0@ghostchain.io>",
|
"author": "Uncle f4tso <f4ts0@ghostchain.io>",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"description": "Ghost Telemetry frontend",
|
"description": "Ghost Telemetry frontend",
|
||||||
|
|||||||
@ -20,7 +20,7 @@ export class NetworkIdColumn extends React.Component<ColumnProps> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { networkId } = this.props.node;
|
const { networkId, validator } = this.props.node;
|
||||||
|
|
||||||
this.data = networkId;
|
this.data = networkId;
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ export class NetworkIdColumn extends React.Component<ColumnProps> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<td className="Column" onClick={this.onClick}>
|
<td className="Column" onClick={this.onClick}>
|
||||||
<Tooltip text={networkId} position="left" copy={this.onCopy} />
|
{validator && <Tooltip text={validator} position="left" copy={this.onCopy} />}
|
||||||
{networkId}
|
{networkId}
|
||||||
</td>
|
</td>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user