mirror of
https://github.com/immich-app/immich.git
synced 2024-12-31 11:32:55 +02:00
Remember to add the extensions to fileSelector.
This commit is contained in:
parent
8073c87bfa
commit
113a46ac32
@ -22,7 +22,7 @@ export const openFileUploadDialog = (
|
||||
|
||||
// When adding a content type that is unsupported by browsers, make sure
|
||||
// to also add it to getFileMimeType() otherwise the upload will fail.
|
||||
fileSelector.accept = 'image/*,video/*,.heic,.heif,.dng,.3gp,.nef';
|
||||
fileSelector.accept = 'image/*,video/*,.heic,.heif,.dng,.3gp,.nef,.srw,.raf';
|
||||
|
||||
fileSelector.onchange = async (e: Event) => {
|
||||
const target = e.target as HTMLInputElement;
|
||||
|
Loading…
Reference in New Issue
Block a user