mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 01:11:07 +03:00
* add event to trigger uploadhandler * add dragndrop store to handle upload in album-viewer and individuel-shared-viewer (only on shares) * fix handleUploadAssets no parameter * fix format
8 lines
208 B
TypeScript
8 lines
208 B
TypeScript
//store to track the state of the drag and drop and the files
|
|
import { writable } from 'svelte/store';
|
|
|
|
export const dragAndDropFilesStore = writable({
|
|
isDragging: false as boolean,
|
|
files: [] as File[]
|
|
});
|