Commit 4e1e8ce56b0d0f28d222eb662839b9a5ce6eeeac
1 parent
3e67dc1c
Added widget toastTargetId to the widgetContext
Showing
2 changed files
with
2 additions
and
0 deletions
@@ -279,6 +279,7 @@ export class WidgetComponent extends PageComponent implements OnInit, AfterViewI | @@ -279,6 +279,7 @@ export class WidgetComponent extends PageComponent implements OnInit, AfterViewI | ||
279 | this.widgetContext.servicesMap = ServicesMap; | 279 | this.widgetContext.servicesMap = ServicesMap; |
280 | this.widgetContext.isEdit = this.isEdit; | 280 | this.widgetContext.isEdit = this.isEdit; |
281 | this.widgetContext.isMobile = this.isMobile; | 281 | this.widgetContext.isMobile = this.isMobile; |
282 | + this.widgetContext.toastTargetId = this.toastTargetId; | ||
282 | 283 | ||
283 | this.widgetContext.subscriptionApi = { | 284 | this.widgetContext.subscriptionApi = { |
284 | createSubscription: this.createSubscription.bind(this), | 285 | createSubscription: this.createSubscription.bind(this), |
@@ -230,6 +230,7 @@ export class WidgetContext { | @@ -230,6 +230,7 @@ export class WidgetContext { | ||
230 | $scope: IDynamicWidgetComponent; | 230 | $scope: IDynamicWidgetComponent; |
231 | isEdit: boolean; | 231 | isEdit: boolean; |
232 | isMobile: boolean; | 232 | isMobile: boolean; |
233 | + toastTargetId: string; | ||
233 | 234 | ||
234 | widgetNamespace?: string; | 235 | widgetNamespace?: string; |
235 | subscriptionApi?: WidgetSubscriptionApi; | 236 | subscriptionApi?: WidgetSubscriptionApi; |