diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/core/dashboards/models-builder/dashboard-models-builder.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/core/dashboards/models-builder/dashboard-models-builder.element.ts index 7b6c698bd3..88b3a9d155 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/core/dashboards/models-builder/dashboard-models-builder.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/core/dashboards/models-builder/dashboard-models-builder.element.ts @@ -57,8 +57,8 @@ export class UmbDashboardModelsBuilderElement extends UmbControllerHostMixin(Lit super(); this._getDashboardData(); - new UmbContextConsumerController(this, 'umbNotificationService', (instances) => { - this._notificationService = instances['umbNotificationService']; + new UmbContextConsumerController(this, 'umbNotificationService', (instance) => { + this._notificationService = instance; }); }