fix: prompts disappearing on copy / move / upload (#3537)

---------

Co-authored-by: Ryan Miller <ryan.miller@infinitetactics.com>
Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
This commit is contained in:
Ryan
2025-01-20 18:05:59 -05:00
committed by GitHub
parent e92dbb4bb8
commit d1c84a8412
8 changed files with 24 additions and 18 deletions

View File

@@ -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;