diff --git a/screenshots/home.PNG b/screenshots/home.PNG index 42163cdf..98638cfa 100644 Binary files a/screenshots/home.PNG and b/screenshots/home.PNG differ diff --git a/screenshots/home1.PNG b/screenshots/home1.PNG deleted file mode 100644 index 97d0df0d..00000000 Binary files a/screenshots/home1.PNG and /dev/null differ diff --git a/screenshots/products.PNG b/screenshots/products.PNG index 617be783..b5a5d645 100644 Binary files a/screenshots/products.PNG and b/screenshots/products.PNG differ diff --git a/src/app/user/user-favourite-products/user-favourite-products.component.ts b/src/app/user/user-favourite-products/user-favourite-products.component.ts index f4e37ac2..466397f1 100644 --- a/src/app/user/user-favourite-products/user-favourite-products.component.ts +++ b/src/app/user/user-favourite-products/user-favourite-products.component.ts @@ -12,14 +12,12 @@ import { AuthService } from "../../index/shared/auth.service"; styleUrls: ["./user-favourite-products.component.scss"] }) export class UserFavouriteProductsComponent implements OnInit { - products: FavouriteProduct[]; - + products: FavouriteProduct[] = []; + page = 1; constructor( private productService: ProductService, public authService: AuthService - ) { - this.products = new Array(); - } + ) {} ngOnInit() { this.getFavouriteProducts();