Fix configStore.loadConfig -> fetchConfig method name
All checks were successful
Release / Bump version and tag (push) Successful in 10s
All checks were successful
Release / Bump version and tag (push) Successful in 10s
The config store exports fetchConfig() but App.svelte was calling the nonexistent loadConfig(), causing a TypeError that prevented the sidecar from launching. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
sidecarState = "starting";
|
sidecarState = "starting";
|
||||||
backendStore.setPort(8081);
|
backendStore.setPort(8081);
|
||||||
backendStore.connect();
|
backendStore.connect();
|
||||||
configStore.loadConfig();
|
configStore.fetchConfig();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -78,13 +78,13 @@
|
|||||||
log(`Sidecar ready on port ${port}`);
|
log(`Sidecar ready on port ${port}`);
|
||||||
backendStore.setPort(port);
|
backendStore.setPort(port);
|
||||||
backendStore.connect();
|
backendStore.connect();
|
||||||
configStore.loadConfig();
|
configStore.fetchConfig();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// If sidecar launch fails, still try connecting to default port
|
// If sidecar launch fails, still try connecting to default port
|
||||||
log(`Sidecar launch failed: ${err}, trying default port`);
|
log(`Sidecar launch failed: ${err}, trying default port`);
|
||||||
sidecarState = "starting";
|
sidecarState = "starting";
|
||||||
backendStore.connect();
|
backendStore.connect();
|
||||||
configStore.loadConfig();
|
configStore.fetchConfig();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user