Unverified Commit c6af45f7 authored by Ruslan Konviser's avatar Ruslan Konviser Committed by GitHub
Browse files

Merge pull request #1267 from ever-co/fix/#1245-customer-show-available-products

fix: show available products on customer panel
parents be663e4e 82052961
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
{
	"name": "@ever-platform/admin-web-angular",
	"version": "0.3.9",
	"version": "0.3.10",
	"description": "Ever Admin",
	"license": "AGPL-3.0",
	"homepage": "https://ever.co",
+6 −1
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ export class GeoLocationService {
								isManufacturing
								isCarrierRequired
								isDeliveryRequired
								isProductAvailable
								deliveryTimeMin
								deliveryTimeMax
								product {
@@ -71,7 +72,11 @@ export class GeoLocationService {
				pollInterval: 2000,
			})
			.valueChanges.pipe(
				map((res) => res.data.geoLocationProducts),
				map((res) =>
					res.data.geoLocationProducts.filter(
						(p) => p.warehouseProduct.isProductAvailable === true
					)
				),
				share()
			);
	}