Use generic device icon instead of Mark I icon for devices without a platform
parent
d1ed12f0e0
commit
c2e2e20c16
|
@ -95,7 +95,6 @@ export class DeviceListComponent implements OnInit {
|
||||||
|
|
||||||
getDeviceIcon(device: Device) {
|
getDeviceIcon(device: Device) {
|
||||||
const knownPlatform = this.platforms[device.platform];
|
const knownPlatform = this.platforms[device.platform];
|
||||||
// TODO: get unknown product icon from design team.
|
return knownPlatform ? knownPlatform.icon : '../assets/generic-device-icon-white.svg';
|
||||||
return knownPlatform ? knownPlatform.icon : '../assets/mark-1-icon.svg';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue