diff --git a/src/ic/ic.js b/src/ic/ic.js index 0d2abfe..a62eaa2 100644 --- a/src/ic/ic.js +++ b/src/ic/ic.js @@ -211,8 +211,11 @@ class InfrastructureComponent extends React.Component { - Raw Status - {this.isJSON(this.state.ic.statusupdateraw) ? + + {this.state.ic.type === "villas-node" ? + <> + Raw Status + {this.state.ic.statusupdateraw !== null && this.isJSON(this.state.ic.statusupdateraw) ? :
No valid statistics JSON raw data available.
} - {this.state.ic.type === "villas-node" ? - <>
@@ -275,6 +276,22 @@ class InfrastructureComponent extends React.Component { :
} + {this.state.ic.type === "villas-relay" ? + <> + Raw Status + {this.state.ic.statusupdateraw !== null && this.isJSON(this.state.ic.statusupdateraw) ? + :
No valid JSON raw data available.
} + + : +
} +