diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-grid.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-grid.element.ts
index cc65027cce..e449d9fee5 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-grid.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-grid.element.ts
@@ -68,7 +68,7 @@ export class UmbEditorViewUsersGridElement extends UmbContextConsumerMixin(LitEl
//TODO How should we handle url stuff?
private _handleOpenCard(key: string) {
- history.pushState(null, '', window.location.pathname + '/' + key);
+ history.pushState(null, '', location.pathname + '/' + key);
}
private _selectRowHandler(user: UserItem) {
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-list.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-list.element.ts
index 837db5f441..92ab22ff16 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-list.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-list.element.ts
@@ -134,12 +134,13 @@ export class UmbEditorViewUsersListElement extends UmbContextConsumerMixin(LitEl
-
+
-
Status: All
-
Groups: All
-
Order by: Name (A-Z)
+
Status: All
+
Groups: All
+
Order by: Name (A-Z)
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-table.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-table.element.ts
index 17c285826a..c09a5b660d 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-table.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-table.element.ts
@@ -46,6 +46,14 @@ export class UmbEditorViewUsersTableElement extends UmbContextConsumerMixin(LitE
justify-content: space-between;
width: 100%;
}
+ .link-button {
+ font-weight: bold;
+ color: var(--uui-color-interactive);
+ }
+ .link-button:hover {
+ text-decoration: underline;
+ color: var(--uui-color-interactive-emphasis);
+ }
`,
];
@@ -138,6 +146,12 @@ export class UmbEditorViewUsersTableElement extends UmbContextConsumerMixin(LitE
console.log('SELECT ALL NOT IMPLEMENTED');
}
+ //TODO How should we handle url stuff?
+ private _handleOpenUser(event: Event, key: string) {
+ event.stopImmediatePropagation();
+ history.pushState(null, '', location.pathname + '/' + key);
+ }
+
private _selectRowHandler(user: UserItem) {
this._usersContext?.select(user.key);
}
@@ -186,7 +200,17 @@ export class UmbEditorViewUsersTableElement extends UmbContextConsumerMixin(LitE
-
${user.name}
+
{
+ if (e.key === 'Enter') {
+ this._handleOpenUser(e, user.key);
+ }
+ }}
+ @click=${(e: Event) => this._handleOpenUser(e, user.key)}
+ href=${location.pathname + '/' + user.key}>
+ ${user.name}
+
${user.userGroup}