diff --git a/src/ic/ic.js b/src/ic/ic.js index 0bbd368..40e300b 100644 --- a/src/ic/ic.js +++ b/src/ic/ic.js @@ -25,6 +25,7 @@ import moment from 'moment'; import ReactJson from 'react-json-view'; import ConfirmCommand from './confirm-command'; import IconButton from '../common/icon-button'; +import FileSaver from 'file-saver'; @@ -202,7 +203,7 @@ class InfrastructureComponent extends React.Component { - {this.state.ic.type === "villas-node" ? + {this.state.category ==="gateway" && this.state.ic.type === "villas-node" ? <>
:
} - {this.state.ic.type === "villas-relay" ? + {this.state.category ==="gateway" && this.state.ic.type === "villas-relay" ? <>
+
Raw Status {this.state.ic.statusupdateraw !== null && this.isJSON(this.state.ic.statusupdateraw) ? } - {this.state.ic.type === "villas-node" ? + {this.state.category ==="gateway" && this.state.ic.type === "villas-node" ? <>