From 19d48cc995fa5c577ad61308c3a292890bc6199b Mon Sep 17 00:00:00 2001 From: Vincent Ramiere Date: Tue, 22 Mar 2022 09:44:39 +0100 Subject: [PATCH] modif inStock --- src/app/modules/admin/models/plant.ts | 2 +- .../admin/pages/page-tableau/page-tableau.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/modules/admin/models/plant.ts b/src/app/modules/admin/models/plant.ts index e334571..04890b5 100644 --- a/src/app/modules/admin/models/plant.ts +++ b/src/app/modules/admin/models/plant.ts @@ -5,7 +5,7 @@ export class Plant { public name: string='', public price: number =1, public quantity: number= 0, - public instock: boolean= true, + public inStock: boolean= true, public category:Category, public urlPicture: string = "https//picsum.photos/id/18/200/300", public rating: number = 0, diff --git a/src/app/modules/admin/pages/page-tableau/page-tableau.component.html b/src/app/modules/admin/pages/page-tableau/page-tableau.component.html index 1799f8b..5cdaa12 100644 --- a/src/app/modules/admin/pages/page-tableau/page-tableau.component.html +++ b/src/app/modules/admin/pages/page-tableau/page-tableau.component.html @@ -19,7 +19,7 @@ {{products.name}} {{products.price}} {{products.quantity}} - {{products.instock}} + {{products.inStock}} {{products.rating}}