close hovers deeper in the upload logic
parent
60e4cb08c8
commit
f557bc7508
|
@ -1,3 +1,4 @@
|
|||
import { useLayoutStore } from "@/stores/layout";
|
||||
import { useUploadStore } from "@/stores/upload";
|
||||
import url from "@/utils/url";
|
||||
|
||||
|
@ -126,6 +127,9 @@ export function handleFiles(
|
|||
overwrite = false
|
||||
) {
|
||||
const uploadStore = useUploadStore();
|
||||
const layoutStore = useLayoutStore();
|
||||
|
||||
layoutStore.closeHovers();
|
||||
|
||||
for (const file of files) {
|
||||
const id = uploadStore.id;
|
||||
|
|
Loading…
Reference in New Issue