From b4fa8527ad26d0de3c0e47f4febaf6107da61148 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Tue, 17 Sep 2024 15:08:13 +0200 Subject: [PATCH] update edit path --- .../user/current-user/profile/edit-current-user.action.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/edit-current-user.action.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/edit-current-user.action.ts index cdc03d8e09..f600485dc6 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/edit-current-user.action.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/profile/edit-current-user.action.ts @@ -1,4 +1,5 @@ import { UMB_CURRENT_USER_CONTEXT } from '../current-user.context.token.js'; +import { UMB_USER_WORKSPACE_PATH } from '@umbraco-cms/backoffice/user'; import { UmbActionBase } from '@umbraco-cms/backoffice/action'; import type { UmbCurrentUserAction, UmbCurrentUserActionArgs } from '@umbraco-cms/backoffice/extension-registry'; import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api'; @@ -29,7 +30,7 @@ export class UmbEditCurrentUserAction async getHref() { await this.#init; - return `section/user-management/view/users/user/edit/${this.#unique}`; + return UMB_USER_WORKSPACE_PATH + '/edit/' + this.#unique; } async execute() {