undefined

This commit is contained in:
Niels Lyngsø
2022-06-02 17:09:47 +02:00
parent 000aa33077
commit c8beb1142a
2 changed files with 5 additions and 7 deletions

View File

@@ -9,9 +9,9 @@ import { getInitStatus } from './core/api/fetcher';
import { UmbContextProviderMixin } from './core/context';
// Load these in the correct components
import './editor/editor-layout.element';
import './editor/editor-property-layout.element';
import './editor/node-editor/node-property.element';
import './editors/editor-layout.element';
import './editors/editor-property-layout.element';
import './editors/node-editor/node-property.element';
const routes = [
{

View File

@@ -35,14 +35,14 @@ export default class UmbBackoffice extends UmbContextProviderMixin(LitElement) {
top:0;
left:0;
right:0;
height: 100vh;
bottom: 70px;
height:auto;
padding: var(--uui-size-layout-1);
}
`,
];
private _notificationService: UmbNotificationService = new UmbNotificationService();
private _notificationContainer: UUIToastNotificationContainerElement;
private _notificationSubscribtion: Subscription;
@state()
@@ -63,8 +63,6 @@ export default class UmbBackoffice extends UmbContextProviderMixin(LitElement) {
): void {
super.firstUpdated(_changedProperties);
this._notificationContainer = this.shadowRoot?.querySelector('uui-toast-notification-container') as UUIToastNotificationContainerElement;
this._notificationSubscribtion = this._notificationService.notifications
.subscribe((notifications: Array<any>) => {
this._notifications = notifications;