refactored get valid() and removed / from input and img
This commit is contained in:
parent
aa795d1259
commit
b6e31f4ce4
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user