Added widget toastTargetId to the widgetContext
This commit is contained in:
parent
3e67dc1c00
commit
4e1e8ce56b
@ -279,6 +279,7 @@ export class WidgetComponent extends PageComponent implements OnInit, AfterViewI
|
||||
this.widgetContext.servicesMap = ServicesMap;
|
||||
this.widgetContext.isEdit = this.isEdit;
|
||||
this.widgetContext.isMobile = this.isMobile;
|
||||
this.widgetContext.toastTargetId = this.toastTargetId;
|
||||
|
||||
this.widgetContext.subscriptionApi = {
|
||||
createSubscription: this.createSubscription.bind(this),
|
||||
|
||||
@ -230,6 +230,7 @@ export class WidgetContext {
|
||||
$scope: IDynamicWidgetComponent;
|
||||
isEdit: boolean;
|
||||
isMobile: boolean;
|
||||
toastTargetId: string;
|
||||
|
||||
widgetNamespace?: string;
|
||||
subscriptionApi?: WidgetSubscriptionApi;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user