Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
451b1a21d0
commit
b4266fbdd4
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user