correct import of entity editor

This commit is contained in:
Mads Rasmussen
2022-09-09 15:31:40 +02:00
parent 4aacbdcf40
commit 5d6a43cc76

View File

@@ -8,7 +8,7 @@ import { UmbSectionContext } from '../section.context';
import type { ManifestTree, ManifestEditor } from '../../../core/models';
import '../shared/section-trees.element.ts';
import { UmbEditorElement } from '../../editors/shared/editor-entity/editor-entity.element';
import { UmbEditorEntityElement } from '../../editors/shared/editor-entity/editor-entity.element';
import { UmbEntityStore } from '../../../core/stores/entity.store';
@customElement('umb-section')
@@ -94,7 +94,7 @@ export class UmbSectionElement extends UmbContextConsumerMixin(LitElement) {
return {
path: `:entityType/:key`,
component: () => import('../../editors/shared/editor-entity/editor-entity.element'),
setup: (component: UmbEditorElement, info: any) => {
setup: (component: UmbEditorEntityElement, info: any) => {
component.entityKey = info.match.params.key;
component.entityType = info.match.params.entityType;
},