@alfresco/aca-content 7.3.0-21431989670 → 7.3.0-21477535843

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4419,7 +4419,8 @@ class LocationLinkComponent {
4419
4419
  onMouseEnter() {
4420
4420
  this.getTooltip(this._path);
4421
4421
  }
4422
- goToLocation() {
4422
+ goToLocation(event) {
4423
+ event.preventDefault();
4423
4424
  if (this.context) {
4424
4425
  const node = this.context.row.node;
4425
4426
  this.store.dispatch(new NavigateToParentFolder(node));
@@ -4514,9 +4515,10 @@ class LocationLinkComponent {
4514
4515
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LocationLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4515
4516
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: LocationLinkComponent, isStandalone: true, selector: "aca-location-link", inputs: { context: "context", showLocation: "showLocation" }, host: { listeners: { "mouseenter": "onMouseEnter()" }, classAttribute: "aca-location-link adf-location-cell adf-datatable-content-cell" }, ngImport: i0, template: `
4516
4517
  <a
4517
- href=""
4518
+ href="#"
4518
4519
  [title]="nodeLocation$ | async"
4519
- (click)="goToLocation()"
4520
+ (click)="goToLocation($event)"
4521
+ (keydown.enter)="goToLocation($event)"
4520
4522
  class="adf-datatable-cell-value"
4521
4523
  [innerHTML]="displayText | async | translate"
4522
4524
  >
@@ -4530,9 +4532,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
4530
4532
  selector: 'aca-location-link',
4531
4533
  template: `
4532
4534
  <a
4533
- href=""
4535
+ href="#"
4534
4536
  [title]="nodeLocation$ | async"
4535
- (click)="goToLocation()"
4537
+ (click)="goToLocation($event)"
4538
+ (keydown.enter)="goToLocation($event)"
4536
4539
  class="adf-datatable-cell-value"
4537
4540
  [innerHTML]="displayText | async | translate"
4538
4541
  >