diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/workspace-editor/workspace-editor.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/workspace-editor/workspace-editor.element.ts index 4759f00726..afd93116f9 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/workspace-editor/workspace-editor.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/workspace-editor/workspace-editor.element.ts @@ -75,7 +75,6 @@ export class UmbWorkspaceEditorElement extends UmbLitElement { private _activePath?: string; private _observeWorkspaceViews() { - // TODO: Make collection as a kind of workspaceEditorView. this.observe( umbExtensionsRegistry .extensionsOfTypes(['workspaceEditorView', 'workspaceViewCollection']) @@ -85,7 +84,8 @@ export class UmbWorkspaceEditorElement extends UmbLitElement { (workspaceViews) => { this._workspaceViews = workspaceViews; this._createRoutes(); - } + }, + '_observeWorkspaceViews' ); } diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/document-workspace-split-view.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/document-workspace-split-view.element.ts index 1b791df0e6..b81835cfff 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/document-workspace-split-view.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/document-workspace-split-view.element.ts @@ -52,7 +52,7 @@ export class UmbDocumentWorkspaceSplitViewElement extends UmbLitElement { ? html`
${repeat( this._variants, - (view) => view.index, + (view) => view.index + '_' + this._variants!.length, (view) => html`