File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/packages/user/current-user/profile Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { UMB_CURRENT_USER_CONTEXT } from '../current-user.context.token.js' ;
2
+ import { UMB_USER_WORKSPACE_PATH } from '@umbraco-cms/backoffice/user' ;
2
3
import { UmbActionBase } from '@umbraco-cms/backoffice/action' ;
3
4
import type { UmbCurrentUserAction , UmbCurrentUserActionArgs } from '@umbraco-cms/backoffice/extension-registry' ;
4
5
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api' ;
@@ -29,7 +30,7 @@ export class UmbEditCurrentUserAction<ArgsMetaType = never>
29
30
30
31
async getHref ( ) {
31
32
await this . #init;
32
- return `section/user-management/view/users/user/ edit/${ this . #unique} ` ;
33
+ return UMB_USER_WORKSPACE_PATH + '/ edit/' + this . #unique;
33
34
}
34
35
35
36
async execute ( ) {
You can’t perform that action at this time.
0 commit comments