RED-7754: Fixed navigation after closing edit.
This commit is contained in:
parent
6dc94979c0
commit
b8d5ba0c70
@ -87,7 +87,11 @@ export class FileAttributeComponent extends BaseFormComponent implements OnDestr
|
|||||||
}
|
}
|
||||||
|
|
||||||
editFileAttribute($event: MouseEvent) {
|
editFileAttribute($event: MouseEvent) {
|
||||||
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();
|
$event.stopPropagation();
|
||||||
this.#toggleEdit();
|
this.#toggleEdit();
|
||||||
this.fileAttributesService.setFileEdit(this.file.fileId);
|
this.fileAttributesService.setFileEdit(this.file.fileId);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user