Resolve upload issues.

This commit is contained in:
Patrick Fic
2021-06-10 10:46:12 -07:00
parent 04e3a77312
commit b857a9bfbd
6 changed files with 118 additions and 70 deletions

View File

@@ -26,7 +26,7 @@ export function ImageBrowserScreen({ selectedCameraJobId }) {
const onDone = (data) => {
logImEXEvent("imexmobile_upload_documents", { count: data.length });
setUploads(data);
if (data.length !== 0) setUploads(data);
};
return (