From da3310cb0b2dc9b70820323da3a86457bfc34f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Mon, 2 Jan 2023 15:13:51 +0100 Subject: [PATCH] fix usage --- .../models-builder/dashboard-models-builder.element.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }); }