From 3c3741c33f35fb000d5fb453d712a5dab5cddacb Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Tue, 25 Jul 2017 10:06:41 +0200 Subject: [PATCH] Use accountIdService to retrieve current Account Id in Schedule Component. --- src/scheduler/schedule.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scheduler/schedule.component.ts b/src/scheduler/schedule.component.ts index 1b467f3..3c427a2 100644 --- a/src/scheduler/schedule.component.ts +++ b/src/scheduler/schedule.component.ts @@ -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(); }