Fix item price in wide screens
This commit is contained in:
parent
25c6e81ebc
commit
fb5c76fa03
2 changed files with 3 additions and 2 deletions
|
@ -23,7 +23,7 @@ import { ItemAddComponent } from '../item-add/item-add.component';
|
||||||
|
|
||||||
export class ItemListComponent implements OnInit{
|
export class ItemListComponent implements OnInit{
|
||||||
|
|
||||||
@Input() zecPrice: number = 1;
|
@Input() zecPrice: number;
|
||||||
|
|
||||||
public items: Item[] = [];
|
public items: Item[] = [];
|
||||||
|
|
||||||
|
@ -75,6 +75,7 @@ export class ItemListComponent implements OnInit{
|
||||||
this.items = items;
|
this.items = items;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
this.zecPrice = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(){
|
ngOnInit(){
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<table cellspacing="0" width="75%">
|
<table cellspacing="0" width="75%">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<app-item-list></app-item-list>
|
<app-item-list [zecPrice]="price"></app-item-list>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<app-order></app-order>
|
<app-order></app-order>
|
||||||
|
|
Loading…
Reference in a new issue