diff --git a/src/gui/fields/TakePhoto.tsx b/src/gui/fields/TakePhoto.tsx
index a91bd3e2c..864593f32 100644
--- a/src/gui/fields/TakePhoto.tsx
+++ b/src/gui/fields/TakePhoto.tsx
@@ -75,19 +75,26 @@ export class TakePhoto extends React.Component<
this.props.form.setFieldError(this.props.field.name, err.message);
}
}
+ // 20220401 BBS https://mui.com/components/modal/#basic-modal
+ // Didn't get it to work in time, but looks straightforward to include the blob in a modal
render() {
const images = this.props.field.value;
const error = this.props.form.errors[this.props.field.name];
const image_tag_list = [];
+
if (images !== null && images !== undefined) {
for (const image of images) {
const image_ref = URL.createObjectURL(image);
const image_tag = (
- ); // faims-take-photo-img"
+ );
image_tag_list.push(image_tag);
}
}
@@ -103,7 +110,7 @@ export class TakePhoto extends React.Component<
// But it doesn't look like we support masonry right now.
//
// It also looks like we don't have multiple photos being returned...
-
+ // 20220401 BBS - Ok, looks like the MUI update means that I can spec cols=4 without specific height stuff
return (