mirror of
https://github.com/immich-app/immich.git
synced 2025-04-08 03:01:32 -05:00
Remember to add the extensions to fileSelector.
This commit is contained in:
parent
8073c87bfa
commit
113a46ac32
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue