Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 03:30:01 +00:00
co-authored by renee-png
parent 451b1a21d0
commit b4266fbdd4
+1
View File
@@ -588,6 +588,7 @@ function ImportPage() {
const handleFile = async (cfg: ImporterConfig, file: File) => {
if (!user?.id) return;
setResults((r) => ({ ...r, [cfg.key]: "running" }));
ctx.defaultClientId = cfg.key === "locations" ? (defaultClientId || null) : null;
await ensureLookupsLoaded();
const parsed = await new Promise<Papa.ParseResult<Record<string, string>>>((resolve, reject) => {