changed device_name to devices
This commit is contained in:
@ -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++;
|
||||
|
Reference in New Issue
Block a user