Commit 4e1e8ce56b0d0f28d222eb662839b9a5ce6eeeac

Authored by Sergey Tarnavskiy
1 parent 3e67dc1c

Added widget toastTargetId to the widgetContext

... ... @@ -279,6 +279,7 @@ export class WidgetComponent extends PageComponent implements OnInit, AfterViewI
279 279 this.widgetContext.servicesMap = ServicesMap;
280 280 this.widgetContext.isEdit = this.isEdit;
281 281 this.widgetContext.isMobile = this.isMobile;
  282 + this.widgetContext.toastTargetId = this.toastTargetId;
282 283
283 284 this.widgetContext.subscriptionApi = {
284 285 createSubscription: this.createSubscription.bind(this),
... ...
... ... @@ -230,6 +230,7 @@ export class WidgetContext {
230 230 $scope: IDynamicWidgetComponent;
231 231 isEdit: boolean;
232 232 isMobile: boolean;
  233 + toastTargetId: string;
233 234
234 235 widgetNamespace?: string;
235 236 subscriptionApi?: WidgetSubscriptionApi;
... ...