dev01 hace 11 meses
padre
commit
a20f6add5b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/imagePicker/index.js

+ 1 - 1
src/components/imagePicker/index.js

@@ -147,7 +147,7 @@ export default class ImagePicker extends Component {
     const { api, time, id, num = 1 } = this.props
     return (
       <View className='upload'>
-        {imageUrls && imageUrls.map((url, index) => (
+        {!!id && imageUrls && imageUrls.map((url, index) => (
           <View className='upload-item' key={index}>
             <Image
               className='upload-item-img'