Product Detail is neater.
Recipe list fixed. Recipe xlsx not working.
This commit is contained in:
@ -69,12 +69,13 @@ export class RecipeListComponent implements OnInit {
|
||||
period: new FormControl(new Period(), { nonNullable: true }),
|
||||
productGroup: new FormControl<ProductGroup | string | null>(null),
|
||||
});
|
||||
// Listen to Payment Account Change
|
||||
// Listen to Period Change
|
||||
this.form.controls.period.valueChanges.subscribe((x) => {
|
||||
this.router.navigate([], {
|
||||
relativeTo: this.route,
|
||||
queryParams: { p: x.id },
|
||||
replaceUrl: true,
|
||||
queryParamsHandling: 'merge',
|
||||
});
|
||||
this.period = x;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user