diff --git a/src/app/hq-command/dashboard/network/page.tsx b/src/app/hq-command/dashboard/network/page.tsx index 989a1a2..04e199b 100644 --- a/src/app/hq-command/dashboard/network/page.tsx +++ b/src/app/hq-command/dashboard/network/page.tsx @@ -103,7 +103,7 @@ function AssetManager({ slug, scope = "cases", isOpen, onClose, onSelect, accent if (e) { e.preventDefault(); e.stopPropagation(); } if (item.type === "folder") { fetchAssets(item.path); return; } onSelect({ name: item.name, publicUrl: item.publicUrl || "/" + scope + "/" + slug + "/" + item.path, mediaType: item.mediaType || "unknown", path: item.path }); - onClose(); + // Don't close automatically — let user select multiple files or close manually }; const copyPath = (item: AssetItem) => { diff --git a/src/app/hq-command/dashboard/news/page.tsx b/src/app/hq-command/dashboard/news/page.tsx index 228581e..e904718 100644 --- a/src/app/hq-command/dashboard/news/page.tsx +++ b/src/app/hq-command/dashboard/news/page.tsx @@ -99,7 +99,7 @@ function AssetManager({ slug, scope = "news", isOpen, onClose, onSelect, accentC if (e) { e.preventDefault(); e.stopPropagation(); } if (item.type === "folder") { fetchAssets(item.path); return; } onSelect({ name: item.name, publicUrl: item.publicUrl || "/" + scope + "/" + slug + "/" + item.path, mediaType: item.mediaType || "unknown", path: item.path }); - onClose(); + //onClose(); }; const copyPath = (item: AssetItem) => { diff --git a/src/app/hq-command/dashboard/parts/page.tsx b/src/app/hq-command/dashboard/parts/page.tsx index 7280df0..06a9e4c 100644 --- a/src/app/hq-command/dashboard/parts/page.tsx +++ b/src/app/hq-command/dashboard/parts/page.tsx @@ -72,7 +72,7 @@ function AssetManager({ slug, scope = "parts", isOpen, onClose, onSelect, accent if (e) { e.preventDefault(); e.stopPropagation(); } if (item.type === "folder") { fetchAssets(item.path); return; } onSelect({ name: item.name, publicUrl: item.publicUrl || "/"+scope+"/"+slug+"/"+item.path, mediaType: item.mediaType || "unknown", path: item.path }); - onClose(); + //onClose(); }; const copyPath = (item: AssetItem) => { navigator.clipboard.writeText(item.publicUrl || "/"+scope+"/"+slug+"/"+item.path); setCopiedPath(item.path); setTimeout(() => setCopiedPath(null), 1500); };