Fix(web): drag n drop shared link (#3030)

* 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
This commit is contained in:
faupau
2023-06-29 17:26:25 +02:00
committed by GitHub
parent c065705608
commit e3557fd80e
5 changed files with 45 additions and 11 deletions

View File

@@ -0,0 +1,7 @@
//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[]
});