fix(rnetwork): check URL space slug not effectiveSpace for demo detection
effectiveSpace resolves to 'global' for rnetwork (global-scoped module), so check the URL space param instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
33721819db
commit
48cbf22492
|
|
@ -216,7 +216,7 @@ routes.get("/api/graph", async (c) => {
|
||||||
let isDemoData = false;
|
let isDemoData = false;
|
||||||
|
|
||||||
// Demo members: always show in "demo" space, or when no CRM token
|
// Demo members: always show in "demo" space, or when no CRM token
|
||||||
const useDemoMembers = !token || dataSpace === "demo";
|
const useDemoMembers = !token || space === "demo";
|
||||||
if (useDemoMembers) {
|
if (useDemoMembers) {
|
||||||
isDemoData = true;
|
isDemoData = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue