Use accountIdService to retrieve current Account Id in Schedule Component.

This commit is contained in:
Alexis Lahouze committed 2017-07-25 10:06:41 +02:00
1 parent 7ea652e23e
commit 3c3741c33f
1 file changed
+3
+3
View File
@@ -19,9 +19,12 @@ export class ScheduleComponent {
private toastrService: ToastrService,
private scheduleService: ScheduleService,
private logger: Logger,
private $modal,
private accountIdService
) {}
$onInit() {
this.accountId = this.accountIdService.get();
// Load operations on controller initialization.
this.load();
}