comment entire setTimeout for new

This commit is contained in:
Matt Hill
2023-03-22 07:53:24 -06:00
committed by Aiden McClelland
parent f6e142baf5
commit 13cda80ee6

View File

@@ -61,9 +61,9 @@ export class FormObjectComponent {
this.setDisplays()
// setTimeout hack to avoid ExpressionChangedAfterItHasBeenCheckedError
setTimeout(() => {
// if (this.original && Object.values(this.objectSpec).some(spec => spec['is-new'])) this.hasNewOptions.emit()
})
// setTimeout(() => {
// if (this.original && Object.values(this.objectSpec).some(spec => spec['is-new'])) this.hasNewOptions.emit()
// })
}
ngOnChanges(changes: SimpleChanges) {