Fix item price in wide screens

This commit is contained in:
Rene Vergara 2022-07-20 09:25:51 -05:00
parent 25c6e81ebc
commit fb5c76fa03
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import { ItemAddComponent } from '../item-add/item-add.component';
export class ItemListComponent implements OnInit{
@Input() zecPrice: number = 1;
@Input() zecPrice: number;
public items: Item[] = [];
@ -75,6 +75,7 @@ export class ItemListComponent implements OnInit{
this.items = items;
});
});
this.zecPrice = 1;
}
ngOnInit(){

View File

@ -34,7 +34,7 @@
<table cellspacing="0" width="75%">
<tr>
<td>
<app-item-list></app-item-list>
<app-item-list [zecPrice]="price"></app-item-list>
</td>
<td>
<app-order></app-order>