remove notification service

This commit is contained in:
Niels Lyngsø
2022-12-20 14:31:18 +01:00
parent 1ef67b9418
commit 02a0b97392

View File

@@ -68,17 +68,12 @@ export class UmbWorkspaceContentElement extends UmbContextProviderMixin(
@state()
_content?: DocumentDetails | MediaDetails;
// TODO: remove notification service.
private _notificationService?: UmbNotificationService;
private _workspaceContext?: UmbWorkspaceDocumentContext;
constructor() {
super();
this.consumeContext('umbNotificationService', (instance) => {
this._notificationService = instance;
});
this.consumeContext('umbWorkspaceContext', (instance) => {
this._workspaceContext = instance;
this._observeWorkspace();