diff --git a/frontend/src/app/shared/components/project-list/project-list.component.html b/frontend/src/app/shared/components/project-list/project-list.component.html index 7b2328474d..75c141546f 100644 --- a/frontend/src/app/shared/components/project-list/project-list.component.html +++ b/frontend/src/app/shared/components/project-list/project-list.component.html @@ -52,7 +52,7 @@ [ngClass]="{ 'spot-list--item-action_disabled': project.disabled }" [title]="project.name" [href]="extendedProjectUrl(project.id)" - [attr.data-list-action-selector]="projectListActionIdentifier" + [attr.data-list-selector]="projectListActionIdentifier" > (projectListActionSelector); + const first = document.querySelector(`${projectListActionSelector}:not(${projectListItemDisabled})`); first?.focus(); } }