remove document type tree custom element

This commit is contained in:
Mads Rasmussen
2022-12-19 19:47:38 +01:00
parent 94f4807142
commit 05f1fd8f0f
2 changed files with 18 additions and 20 deletions

View File

@@ -0,0 +1,18 @@
import { ManifestTree } from '@umbraco-cms/extensions-registry';
const documentTypeTreeAlias = 'Umb.Tree.DocumentTypes';
const tree: ManifestTree = {
type: 'tree',
alias: documentTypeTreeAlias,
name: 'Document Types Tree',
weight: 400,
meta: {
label: 'Document Types',
icon: 'umb:folder',
sections: ['Umb.Section.Settings'],
storeContextAlias: 'umbDocumentTypeStore',
},
};
export const manifests = [tree];

View File

@@ -1,20 +0,0 @@
import { html } from 'lit';
import { customElement } from 'lit/decorators.js';
import { UmbTreeBase } from '../shared/tree-base.element';
import '../shared/tree-navigator.element';
@customElement('umb-tree-document-types')
export class UmbTreeDocumentTypes extends UmbTreeBase {
render() {
return html`<umb-tree-navigator></umb-tree-navigator>`;
}
}
export default UmbTreeDocumentTypes;
declare global {
interface HTMLElementTagNameMap {
'umb-tree-document-types': UmbTreeDocumentTypes;
}
}