Skip to content

Commit c6d9a0c

Browse files
committed
rename
1 parent a5029e9 commit c6d9a0c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/packages/documents/document-types/tree/folder/workspace/folder-editor.element.ts renamed to src/packages/documents/document-types/tree/folder/workspace/document-type-folder-editor.element.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { css, html, customElement, state } from '@umbraco-cms/backoffice/externa
44
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
55
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
66

7-
const elementName = 'umb-folder-workspace-editor';
7+
const elementName = 'umb-document-type-folder-workspace-editor';
88
@customElement(elementName)
9-
export class UmbFolderWorkspaceEditorElement extends UmbLitElement {
9+
export class UmbDocumentTypeFolderWorkspaceEditorElement extends UmbLitElement {
1010
@state()
1111
private _name = '';
1212

@@ -38,10 +38,10 @@ export class UmbFolderWorkspaceEditorElement extends UmbLitElement {
3838
static override styles = [UmbTextStyles, css``];
3939
}
4040

41-
export { UmbFolderWorkspaceEditorElement as element };
41+
export { UmbDocumentTypeFolderWorkspaceEditorElement as element };
4242

4343
declare global {
4444
interface HTMLElementTagNameMap {
45-
[elementName]: UmbFolderWorkspaceEditorElement;
45+
[elementName]: UmbDocumentTypeFolderWorkspaceEditorElement;
4646
}
4747
}

src/packages/documents/document-types/tree/folder/workspace/document-type-folder-workspace.context.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
type UmbDocumentTypeFolderRepository,
55
} from '../repository/index.js';
66
import { UMB_DOCUMENT_TYPE_FOLDER_WORKSPACE_ALIAS } from './constants.js';
7-
import { UmbFolderWorkspaceEditorElement } from './folder-editor.element.js';
7+
import { UmbDocumentTypeFolderWorkspaceEditorElement } from './document-type-folder-editor.element.js';
88
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
99
import {
1010
UmbEntityDetailWorkspaceContextBase,
@@ -33,7 +33,7 @@ export class UmbDocumentTypeFolderWorkspaceContext
3333
this.routes.setRoutes([
3434
{
3535
path: 'edit/:unique',
36-
component: UmbFolderWorkspaceEditorElement,
36+
component: UmbDocumentTypeFolderWorkspaceEditorElement,
3737
setup: (component: PageComponent, info: IRoutingInfo) => {
3838
const unique = info.match.params.unique;
3939
this.load(unique);

0 commit comments

Comments
 (0)