Redesign productDetail dialog
This commit is contained in:
@@ -7,5 +7,5 @@ export class ProductModel {
|
||||
price: number = 0
|
||||
discount: number = 0
|
||||
rating: number = 1
|
||||
imageUrl: string = ""
|
||||
images: Array<string> = [""]
|
||||
}
|
||||
@@ -5,9 +5,9 @@ export class ProductWithCategoryModel {
|
||||
brand: string
|
||||
name: string
|
||||
description: string = ""
|
||||
category: CategoryModel
|
||||
category: CategoryModel = new CategoryModel()
|
||||
price: number = 0
|
||||
discount: number = 0
|
||||
rating: number = 1
|
||||
imageUrl: string = ""
|
||||
images: Array<string> = [""]
|
||||
}
|
||||
Reference in New Issue
Block a user