Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Comment button that is disabled anyway
dominik-zeglen97b8196ba466
diff --git a/saleor/static/dashboard-next/products/components/ProductVariantImages/ProductVariantImages.tsx b/saleor/static/dashboard-next/products/components/ProductVariantImages/ProductVariantImages.tsxindex fc13d79397..58933f6504 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantImages/ProductVariantImages.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantImages/ProductVariantImages.tsx@@ -50,22 +50,23 @@ const decorate = withStyles(theme => ({}));export const ProductVariantImages = decorate<ProductVariantImagesProps>(- ({ classes, images, placeholderImage, disabled, onImageAdd }) => (+ ({ classes, images }) => (<Card className={classes.card}><CardTitletitle={i18n.t("Images")}- toolbar={- <Button- color="secondary"- variant="flat"- // FIXME: enable this button when API will be able to pin images- // to variants- disabled={true || disabled}- onClick={onImageAdd}- >- {i18n.t("Choose photos")}- </Button>- }+ // FIXME: enable this button when API will be able to pin images+ // to variants++ // toolbar={+ // <Button+ // color="secondary"+ // variant="flat"+ // disabled={disabled}+ // onClick={onImageAdd}+ // >+ // {i18n.t("Choose photos")}+ // </Button>+ // }/><CardContent><div className={classes.root}>