From 55d818eb88d0a968ef4655019902a8fcb3d79b9d Mon Sep 17 00:00:00 2001 From: Anton Ramanovich <90370279+rmnvch@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:07:59 +0100 Subject: [PATCH] [ACS-10217]: adds proper enter key handling (#5000) --- .../common/location-link/location-link.component.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/projects/aca-content/src/lib/components/common/location-link/location-link.component.ts b/projects/aca-content/src/lib/components/common/location-link/location-link.component.ts index 14187c7c6..ed379ea9b 100644 --- a/projects/aca-content/src/lib/components/common/location-link/location-link.component.ts +++ b/projects/aca-content/src/lib/components/common/location-link/location-link.component.ts @@ -37,9 +37,10 @@ import { TranslatePipe } from '@ngx-translate/core'; selector: 'aca-location-link', template: ` @@ -72,7 +73,8 @@ export class LocationLinkComponent implements OnInit { this.getTooltip(this._path); } - goToLocation() { + goToLocation(event: Event) { + event.preventDefault(); if (this.context) { const node: NodeEntry = this.context.row.node; this.store.dispatch(new NavigateToParentFolder(node));