RED-5896: Disabled edit attributes form for archived dossiers.
This commit is contained in:
parent
8d043929d9
commit
64c4bb3b4e
@ -50,7 +50,7 @@ export class EditDossierAttributesComponent implements EditDossierSectionInterfa
|
||||
}
|
||||
|
||||
get disabled(): boolean {
|
||||
return !this._permissionsService.isOwner(this.dossier);
|
||||
return !this._permissionsService.isOwner(this.dossier) || this.dossier.isArchived;
|
||||
}
|
||||
|
||||
get valid(): boolean {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user