remove document type tree custom element
This commit is contained in:
@@ -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];
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user