diff --git a/src/components/Widgets/ImageControl.js b/src/components/Widgets/ImageControl.js index 4cfc9027..f6322fd0 100644 --- a/src/components/Widgets/ImageControl.js +++ b/src/components/Widgets/ImageControl.js @@ -8,7 +8,7 @@ export default class ImageControl extends React.Component { super(props); this.state = { - currentImage: new ImageProxy(props.value, null, true) + currentImage: props.value ? new ImageProxy(props.value, null, true) : null }; this.revokeCurrentImage = this.revokeCurrentImage.bind(this);