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 589b6be2d..079dd6b1a 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 @@ -123,7 +123,11 @@ export class FileAttributeComponent extends BaseFormComponent implements OnDestr } async editFileAttribute($event: MouseEvent): Promise { - if (!this.file.isInitialProcessing && this.permissionsService.canEditFileAttributes(this.file, this.dossier)) { + if ( + !this.file.isInitialProcessing && + this.permissionsService.canEditFileAttributes(this.file, this.dossier) && + !this.isInEditMode + ) { $event.stopPropagation(); this.fileAttributesService.openAttributeEdits.mutate(value => value.push({ attribute: this.fileAttribute.id, file: this.file.id }),