update listdoc

This commit is contained in:
Mehmet Çetin
2025-01-06 16:55:01 +03:00
parent cc104477dc
commit faf84b8ea2

View File

@@ -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' },