[FIX] Force mime type when the image does not have a filename (#4006)
This commit is contained in:
parent
b0d408ebc8
commit
c6e0751581
|
@ -180,7 +180,7 @@ class ShareView extends Component<IShareViewProps, IShareViewState> {
|
|||
|
||||
// Set a filename, if there isn't any
|
||||
if (!item.filename) {
|
||||
item.filename = new Date().toISOString();
|
||||
item.filename = `${new Date().toISOString()}.jpg`;
|
||||
}
|
||||
return item;
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue