updated voice and wake word models to contain what is sent from the server

pull/3/head
Chris Veilleux 2019-03-22 00:27:02 -05:00
parent c823e0504a
commit 15d5ca4b39
3 changed files with 4 additions and 2 deletions

View File

@ -93,7 +93,7 @@ export class DeviceEditComponent implements OnInit {
}
if (this.defaults.wakeWord) {
this.deviceForm.controls['wakeWord'].setValue(
this.defaults.wakeWord.wakeWord
this.defaults.wakeWord.displayName
);
}
}

View File

@ -1,4 +1,5 @@
export interface Voice {
id: string;
displayName: string;
settingName: string;
}

View File

@ -1,4 +1,5 @@
export interface WakeWord {
id: string;
wakeWord: string;
displayName: string;
settingName: string;
}