Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Hide 'edit attributes' button until attribute section is ready
dominik-zeglen039e3be67c47
diff --git a/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsx b/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsxindex eae77491b2..2a8857c87c 100644--- a/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariants/ProductVariants.tsx@@ -74,9 +74,10 @@ export const ProductVariants = decorate<ProductVariantsProps>(title={i18n.t("Variants")}toolbar={<>- <Button onClick={onAttributesEdit} variant="flat" color="secondary">+ {/* TODO: enable after adding attribute section */}+ {/* <Button onClick={onAttributesEdit} variant="flat" color="secondary">{i18n.t("Edit attributes")}- </Button>+ </Button> */}<Button onClick={onVariantAdd} variant="flat" color="secondary">{i18n.t("Add variant")}</Button>