Skip to content

Commit

Permalink
fix: Cardinality active by default at GO backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jacovinus committed Dec 18, 2023
1 parent 747547d commit bef3aba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/main/views/Main/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,17 @@ export async function checkLocalAPI(
if (response && response?.status === 200) {
if (response?.contentLength === "0") {
setResponseType(ResponseEnum.GO);
console.log("setting plugin to true")
LocalPluginsManagement().togglePluginVisibility(
"Query Item",
"Cardinal View",
true
);
LocalPluginsManagement().togglePlugin(
"Query Item",
"Cardinal View",
true
)
isReady = true;
} else {
setResponseType(ResponseEnum.NODE);
Expand All @@ -188,6 +194,11 @@ export async function checkLocalAPI(
"Cardinal View",
false
);
LocalPluginsManagement().togglePlugin(
"Query Item",
"Cardinal View",
false
)
isReady = true;
}
}
Expand Down

0 comments on commit bef3aba

Please sign in to comment.