Use generic device icon instead of Mark I icon for devices without a platform

pull/44/head
Chris Veilleux 2021-01-28 10:22:29 -06:00
parent d1ed12f0e0
commit c2e2e20c16
1 changed files with 1 additions and 2 deletions

View File

@ -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';
} }
} }