update listdoc
This commit is contained in:
@@ -164,7 +164,7 @@ export class ListDoc {
|
|||||||
constructor(private productService: ProductService) {}
|
constructor(private productService: ProductService) {}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.productService.getProducts().then((data) => (this.products = data));
|
this.productService.getProductsSmall().then((data) => (this.products = data.slice(0, 6)));
|
||||||
|
|
||||||
this.sourceCities = [
|
this.sourceCities = [
|
||||||
{ name: 'San Francisco', code: 'SF' },
|
{ name: 'San Francisco', code: 'SF' },
|
||||||
|
|||||||
Reference in New Issue
Block a user