refactored get valid() and removed / from input and img

This commit is contained in:
Edi Cziszter 2021-12-20 13:18:39 +02:00
parent aa795d1259
commit b6e31f4ce4

View File

@ -73,10 +73,7 @@ export class EditDossierAttributesComponent implements EditDossierSectionInterfa
}
get valid(): boolean {
if (this.form) {
return this.form.valid;
}
return false;
return !!this.form?.valid;
}
async ngOnInit() {