From b85559c68661924d08fd872dba15608e4e5f24bf Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Wed, 16 Oct 2024 15:27:33 +0300 Subject: [PATCH] RED-8277: made it possible to open dossiers and files in a new tab. --- .../components/file-attribute/file-attribute.component.ts | 2 ++ libs/common-ui | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/modules/dossier-overview/components/file-attribute/file-attribute.component.ts b/apps/red-ui/src/app/modules/dossier-overview/components/file-attribute/file-attribute.component.ts index e98c1333c..d131faa9d 100644 --- a/apps/red-ui/src/app/modules/dossier-overview/components/file-attribute/file-attribute.component.ts +++ b/apps/red-ui/src/app/modules/dossier-overview/components/file-attribute/file-attribute.component.ts @@ -147,6 +147,7 @@ export class FileAttributeComponent extends BaseFormComponent implements OnDestr handleClick($event: MouseEvent) { $event.stopPropagation(); + $event.preventDefault(); } ngOnDestroy() { @@ -154,6 +155,7 @@ export class FileAttributeComponent extends BaseFormComponent implements OnDestr } handleFieldClick($event: MouseEvent) { + $event.preventDefault(); if (!this.fileNameColumn) { this.editFileAttribute($event); } diff --git a/libs/common-ui b/libs/common-ui index ba85260cc..f36b1fa8e 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit ba85260cc4a3e780a37b3f41be26b83d045a1dcb +Subproject commit f36b1fa8e276c83fe1edaef1e453a37a41b58b79