mirror of
https://github.com/immich-app/immich.git
synced 2025-01-18 16:33:36 +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
|
// When adding a content type that is unsupported by browsers, make sure
|
||||||
// to also add it to getFileMimeType() otherwise the upload will fail.
|
// 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) => {
|
fileSelector.onchange = async (e: Event) => {
|
||||||
const target = e.target as HTMLInputElement;
|
const target = e.target as HTMLInputElement;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user