Skip to content

Commit fca7fbf

Browse files
committed
update edit path
1 parent 0ecc56a commit fca7fbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/packages/user/current-user/profile/edit-current-user.action.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { UMB_CURRENT_USER_CONTEXT } from '../current-user.context.token.js';
2+
import { UMB_USER_WORKSPACE_PATH } from '@umbraco-cms/backoffice/user';
23
import { UmbActionBase } from '@umbraco-cms/backoffice/action';
34
import type { UmbCurrentUserAction, UmbCurrentUserActionArgs } from '@umbraco-cms/backoffice/extension-registry';
45
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
@@ -29,7 +30,7 @@ export class UmbEditCurrentUserAction<ArgsMetaType = never>
2930

3031
async getHref() {
3132
await this.#init;
32-
return `section/user-management/view/users/user/edit/${this.#unique}`;
33+
return UMB_USER_WORKSPACE_PATH + '/edit/' + this.#unique;
3334
}
3435

3536
async execute() {

0 commit comments

Comments
 (0)