diff --git a/client/components/DeviceView.tsx b/client/components/DeviceView.tsx index 969bf91..724c180 100644 --- a/client/components/DeviceView.tsx +++ b/client/components/DeviceView.tsx @@ -122,14 +122,18 @@ class DeviceView extends React.Component { } else { const { connectionState } = this.device; let header: React.ReactNode; + let image: React.ReactNode; if (inList) { // tslint:disable-line:prefer-conditional-expression - header = Device {this.deviceInfo.name}; + const devicePath = route.device(this.deviceInfo.id); + header = Device {this.deviceInfo.name}; + image = ; } else { header = Device {this.deviceInfo.name}; + image = ; } itemContent = ( - + {image}
{header}