Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 2x 2x | import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { PriceItem } from 'ish-core/models/price-item/price-item.model';
/**
* Displays the products that are not valid any more after basket validation and that has been removed from basket
*
* @example
* <ish-basket-validation-products [items]="removedItems"></ish-basket-validation-products>
*/
@Component({
selector: 'ish-basket-validation-products',
templateUrl: './basket-validation-products.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class BasketValidationProductsComponent {
@Input({ required: true }) items: { message: string; productSKU: string; price: PriceItem }[];
}
|