undefined
This commit is contained in:
@@ -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 = [
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user