bug fix
This commit is contained in:
parent
30b4537a40
commit
8a8aa40ac9
|
@ -117,12 +117,13 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
|
||||||
console.log('valueChanges');
|
console.log('valueChanges');
|
||||||
this.refresh()
|
this.refresh()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (!this.formGroup.get('order').value) this.formGroup.get('order').setValue(this.order.UpdatedAt);
|
||||||
|
|
||||||
this.formGroup.get('order').valueChanges
|
this.formGroup.get('order').valueChanges
|
||||||
.pipe(takeUntil(this._destroyed))
|
.pipe(takeUntil(this._destroyed))
|
||||||
.subscribe(x => this.refresh());
|
.subscribe(x => this.refresh());
|
||||||
|
|
||||||
if (!this.formGroup.get('order').value) this.formGroup.get('order').setValue(this.order.UpdatedAt);
|
|
||||||
|
|
||||||
this.refresh();
|
this.refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue