RED-8277: fix redirect when intending to open primary file attribute.

This commit is contained in:
Nicoleta Panaghiu 2024-10-17 12:02:23 +03:00
parent 829e009d4c
commit 68bfcf6700
2 changed files with 2 additions and 1 deletions

View File

@ -162,6 +162,7 @@ export class FileAttributeComponent extends BaseFormComponent implements OnDestr
}
editFileAttribute($event: MouseEvent) {
$event.preventDefault();
if (
!this.file.isInitialProcessing &&
this.permissionsService.canEditFileAttributes(this.file, this.dossier) &&

@ -1 +1 @@
Subproject commit f36b1fa8e276c83fe1edaef1e453a37a41b58b79
Subproject commit e92bd55cfc37342fec5a246d5cc5226b95fc427e