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