diff --git a/src/ic/ic.js b/src/ic/ic.js index ebb5f78..c2fafd3 100644 --- a/src/ic/ic.js +++ b/src/ic/ic.js @@ -124,23 +124,57 @@ class InfrastructureComponent extends React.Component { } static ICParamsTable(ic) { + let state = ic.state; + return (
Property | Value |
---|---|
Name | {ic.name} |
Description | {ic.description} |
UUID | {ic.uuid} |
State | {ic.state} |
Category | {ic.category} |
Type | {ic.type} |
Uptime | {moment.duration(ic.uptime, "seconds").humanize()} |
Location | {ic.location} |
Websocket URL | {ic.websocketurl} |
API URL | {ic.apiurl} |
Start parameter schema | + |
Name | +{ic.name} | +
Description | +{ic.description} | +
UUID | {ic.uuid} | +
State | +{state} | +
Category | +{ic.category} | +
Type | +{ic.type} | +
Uptime | +{moment.duration(ic.uptime, "seconds").humanize()} | +
Location | +{ic.location} | +
Websocket URL | +{ic.websocketurl} | +
API URL | +{ic.apiurl} | +
Start parameter schema | +
{InfrastructureComponent.isJSON(ic.startparameterschema) ?
|