universal-data-tool
universal-data-tool copied to clipboard
Failed to upload files from google drive
The bug: Failed to upload samples from google drive.
Steps to Reproduce?
Once I select the sample that I need to upload to udt, It shows blank.

const onAddSamplesClicked = () => {
const samples = []
for (const item of userSelectedItemsFromDrive) {
samples.push({ imageUrl: `https://drive.google.com/uc?id=${item.id}` })
// if (item.mimeType.includes("image/")) {
// samples.push({ imageUrl: `https://drive.google.com/uc?id=${item.id}` })
// } else if (item.mimeType.includes("video/")) {
// samples.push({ videoUrl: `https://drive.google.com/uc?id=${item.id}` })
// }
}
onAddSamples(samples)
}
Just comment this part in src/components/ImportFromGoogleDriveDialog/index.js and add this line to the function