Chore: Updated python dependencies
Chore: Updated angular to v19 Chore: Refactored ops with docker and ansible
This commit is contained in:
@ -35,7 +35,6 @@ import { DiscountItem } from './discount-item';
|
||||
selector: 'app-modifiers',
|
||||
templateUrl: './discount.component.html',
|
||||
styleUrls: ['./discount.component.css'],
|
||||
standalone: true,
|
||||
imports: [
|
||||
MatDialogTitle,
|
||||
CdkScrollable,
|
||||
@ -94,7 +93,7 @@ export class DiscountComponent {
|
||||
this.list = list;
|
||||
this.form.controls.discounts.clear();
|
||||
|
||||
this.list.forEach((x) =>
|
||||
this.list.forEach((x) => {
|
||||
this.form.controls.discounts.push(
|
||||
new FormGroup({
|
||||
name: new FormControl(x.name, { nonNullable: true }),
|
||||
@ -103,9 +102,9 @@ export class DiscountComponent {
|
||||
nonNullable: true,
|
||||
}),
|
||||
}),
|
||||
),
|
||||
),
|
||||
(this.dataSource = new DiscountDataSource(this.list));
|
||||
);
|
||||
});
|
||||
this.dataSource = new DiscountDataSource(this.list);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user