diff --git a/monkey_island/cc/ui/src/components/preview-pane/PreviewPane.js b/monkey_island/cc/ui/src/components/preview-pane/PreviewPane.js index 0df12e733..b5226fa8d 100644 --- a/monkey_island/cc/ui/src/components/preview-pane/PreviewPane.js +++ b/monkey_island/cc/ui/src/components/preview-pane/PreviewPane.js @@ -8,7 +8,7 @@ class PreviewPaneComponent extends React.Component { return ( Operating System - {asset.os} + {asset.os.charAt(0).toUpperCase() + asset.os.slice(1)} ); } @@ -40,11 +40,11 @@ class PreviewPaneComponent extends React.Component { ); } - aliveRow(asset) { + statusRow(asset) { return ( - Alive - {(!asset.dead).toString()} + Status + {(asset.dead) ? 'Dead' : 'Alive'} ); } @@ -65,7 +65,7 @@ class PreviewPaneComponent extends React.Component { Force Kill - this.forceKill(e, asset)} /> @@ -115,8 +115,8 @@ class PreviewPaneComponent extends React.Component {
- {this.aliveRow(asset)} {this.osRow(asset)} + {this.statusRow(asset)} {this.ipsRow(asset)} {this.servicesRow(asset)} {this.accessibleRow(asset)}