From 3e006ce47d51389d5f37d34e32df59db10436648 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Fri, 8 Jan 2021 10:42:11 +0100 Subject: [PATCH] feat(admin-ui): Allow "enabled" state to be set when creating products Relates to #608 --- .../src/lib/core/src/data/providers/product-data.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/admin-ui/src/lib/core/src/data/providers/product-data.service.ts b/packages/admin-ui/src/lib/core/src/data/providers/product-data.service.ts index e99d796b66..f9f3417e43 100644 --- a/packages/admin-ui/src/lib/core/src/data/providers/product-data.service.ts +++ b/packages/admin-ui/src/lib/core/src/data/providers/product-data.service.ts @@ -150,6 +150,7 @@ export class ProductDataService { createProduct(product: CreateProductInput) { const input: CreateProduct.Variables = { input: pick(product, [ + 'enabled', 'translations', 'customFields', 'assetIds',