changed device_name to devices

This commit is contained in:
VLE2FE
2020-08-06 14:08:11 +02:00
parent e8ad6aaa7a
commit 4376adc1eb
6 changed files with 3778 additions and 21 deletions

View File

@ -137,7 +137,7 @@ export class SampleComponent implements OnInit, AfterContentChecked {
this.loading--;
});
this.d.load('user', () => {
this.defaultDevice = this.d.d.user.device_name;
this.defaultDevice = this.d.d.user.devices[0];
});
if (!this.new) {
this.loading++;