ywana-core8 0.0.958 → 0.0.959
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +1 -1
package/package.json
CHANGED
package/src/html/table.js
CHANGED
@@ -273,7 +273,7 @@ const ImageCellViewer = ({ id, value, uploadURL, onChange }) => {
|
|
273
273
|
|
274
274
|
return (
|
275
275
|
<div className="image-cell">
|
276
|
-
<img src={value} />
|
276
|
+
{ value ? <img src={value} /> : <Icon icon="person" />}
|
277
277
|
{ uploadURL ? <Uploader icon="cloud_upload" target={uploadURL} onSuccess={success} onError={error} /> : null }
|
278
278
|
</div>
|
279
279
|
)
|