Skip to content

Commit 5adfd4a

Browse files
committed
xero c1 error fix
1 parent f17a54d commit 5adfd4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/shared/components/configuration/configuration-import-field/configuration-import-field.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export class ConfigurationImportFieldComponent implements OnInit {
308308
}
309309

310310
ngOnInit(): void {
311-
if (this.form.controls?.dependentFieldImportToggle) {
311+
if (this.form.controls?.dependentFieldImportToggle?.value) {
312312
this.form.controls?.dependentFieldImportToggle.disable();
313313
}
314314
if (this.appName !== AppName.SAGE300) {

0 commit comments

Comments
 (0)