Fix error in PR 10575 (#10576)

This commit is contained in:
Robert Duda
2025-01-24 12:41:48 +01:00
committed by GitHub
parent dd1bbdffd6
commit 3b0aaabbfa

View File

@@ -155,7 +155,7 @@ export abstract class BaseEditTaskFilterCloudComponent<T> implements OnInit, OnC
ngOnChanges(changes: SimpleChanges) { ngOnChanges(changes: SimpleChanges) {
const { id } = changes; const { id } = changes;
if (id && id.currentValue !== id.previousValue) { if (id && id.currentValue !== id.previousValue) {
if (this.taskFilter) { if (this.taskFilter && this.taskFilter['id'] === id.currentValue) {
this.taskFilterProperties = this.createAndFilterProperties(); this.taskFilterProperties = this.createAndFilterProperties();
this.taskFilterActions = this.createAndFilterActions(); this.taskFilterActions = this.createAndFilterActions();
this.buildForm(this.taskFilterProperties); this.buildForm(this.taskFilterProperties);