Use accountIdService to retrieve current Account Id in Schedule Component.
This commit is contained in:
parent
7ea652e23e
commit
3c3741c33f
@ -19,9 +19,12 @@ export class ScheduleComponent {
|
|||||||
private toastrService: ToastrService,
|
private toastrService: ToastrService,
|
||||||
private scheduleService: ScheduleService,
|
private scheduleService: ScheduleService,
|
||||||
private logger: Logger,
|
private logger: Logger,
|
||||||
|
private $modal,
|
||||||
|
private accountIdService
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
$onInit() {
|
$onInit() {
|
||||||
|
this.accountId = this.accountIdService.get();
|
||||||
// Load operations on controller initialization.
|
// Load operations on controller initialization.
|
||||||
this.load();
|
this.load();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user