fix usage

This commit is contained in:
Niels Lyngsø
2023-01-02 15:13:51 +01:00
parent 0b2f7fe586
commit da3310cb0b

View File

@@ -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;
});
}