media type

This commit is contained in:
Niels Lyngsø
2022-12-16 10:16:15 +01:00
parent 66d02c4543
commit 69162a376c

View File

@@ -4,8 +4,8 @@ import { customElement, property } from 'lit/decorators.js';
import '../shared/workspace-entity-layout/workspace-entity-layout.element';
@customElement('umb-editor-media-type')
export class UmbEditorMediaTypeElement extends LitElement {
@customElement('umb-workspace-media-type')
export class UmbWorkspaceMediaTypeElement extends LitElement {
static styles = [
UUITextStyles,
css`
@@ -21,14 +21,14 @@ export class UmbEditorMediaTypeElement extends LitElement {
id!: string;
render() {
return html` <umb-workspace-entity-layout alias="Umb.Editor.MediaType">Media Type Editor</umb-workspace-entity-layout> `;
return html`<umb-workspace-entity-layout alias="Umb.Workspace.MediaType">Media Type Workspace</umb-workspace-entity-layout>`;
}
}
export default UmbEditorMediaTypeElement;
export default UmbWorkspaceMediaTypeElement;
declare global {
interface HTMLElementTagNameMap {
'umb-editor-media-type': UmbEditorMediaTypeElement;
'umb-workspace-media-type': UmbWorkspaceMediaTypeElement;
}
}