Add additional columns, styling and data to lists

This commit is contained in:
Jesse Lucas
2020-03-31 20:40:36 -04:00
parent 865f1f2ea6
commit 06eacb87d8
15 changed files with 51 additions and 102 deletions
+3 -2
View File
@@ -3,7 +3,8 @@ import { colors } from './style';
interface Device {
deviceID: string;
name: string;
state: Device.StateType;
stateType: Device.StateType;
state: string;
paused: boolean;
connected: boolean;
completion: number;
@@ -70,7 +71,7 @@ namespace Device {
export function getStateType(d: Device): StateType {
// StateType Unknown is set in DeviceService
if (d.state === StateType.Unknown) {
if (d.stateType === StateType.Unknown) {
return StateType.Unknown;
}