瀏覽代碼

Fixed bug 1481

bugfix/1481
jovan.cirkovic 3 年之前
父節點
當前提交
b701382f2d
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      src/components/Cards/CreateOfferCard/ThirdPart/ThirdPartCreateOffer.js

+ 3
- 1
src/components/Cards/CreateOfferCard/ThirdPart/ThirdPartCreateOffer.js 查看文件

@@ -17,7 +17,9 @@ const ThirdPartCreateOffer = (props) => {
subcategory: props.informations.subcategory,
condition: props.informations.condition,
_created: new Date().toString(),
images: props.informations.images.filter((item) => item !== undefined),
images: props.informations.images.filter(
(item) => item !== undefined && item !== null
),
name: props.informations.nameOfProduct,
description: props.informations.description,
},

Loading…
取消
儲存