From e6435df722949ac867f91a48dcee47fdfa2e239b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 28 Feb 2024 08:03:43 +0100 Subject: [PATCH] move for consistency --- .../workspace/dictionary-workspace.element.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/dictionary/workspace/dictionary-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/packages/dictionary/workspace/dictionary-workspace.element.ts index e08fd6bfc3..fc782800a3 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/dictionary/workspace/dictionary-workspace.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/dictionary/workspace/dictionary-workspace.element.ts @@ -12,14 +12,6 @@ export class UmbWorkspaceDictionaryElement extends UmbLitElement { @state() _routes: UmbRoute[] = [ - { - path: 'edit/:unique', - component: this.#createElement, - setup: (_component, info) => { - const unique = info.match.params.unique; - this.#workspaceContext.load(unique); - }, - }, { path: 'create/:parentUnique', component: this.#createElement, @@ -34,6 +26,14 @@ export class UmbWorkspaceDictionaryElement extends UmbLitElement { ); }, }, + { + path: 'edit/:unique', + component: this.#createElement, + setup: (_component, info) => { + const unique = info.match.params.unique; + this.#workspaceContext.load(unique); + }, + }, ]; render() {