We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb7166f commit 47b7cccCopy full SHA for 47b7ccc
app/gooeyFileInput.tsx
@@ -272,8 +272,11 @@ async function loadPreview({
272
preview = contentType?.startsWith("image/") ? url : preview ? preview : image;
273
274
if (!uppy.getFile(fileId)) return;
275
+ uppy.setFileMeta(fileId, {
276
+ name: title || filename,
277
+ });
278
+
279
uppy.setFileState(fileId, {
- name: title || filename || urlToFilename(url),
280
size: contentLength ? parseInt(contentLength) : undefined,
281
preview: preview,
282
});
0 commit comments