ywana-core8 0.0.957 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.957",
3
+ "version": "0.0.959",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
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
  )