Skip to content

Commit

Permalink
v0.3.11 (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
scespinoza authored Nov 19, 2024
2 parents 56bf8b6 + e382e5e commit cf3cf3d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
15 changes: 7 additions & 8 deletions src/components/ExplorerContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,13 @@ export function ExplorerContent(props: {
return props.serverConfig !== undefined ? props.serverConfig : {};
}, [props.serverConfig]);

useEffect(() => {
useSetup(
props.serverURL,
serverConfig,
props.defaultDataLocale,
props.defaultCube,
);
}, [props.serverURL, serverConfig, props.defaultDataLocale, props.defaultCube]);

useSetup(
props.serverURL,
serverConfig,
props.defaultDataLocale,
props.defaultCube,
);

const {classes} = useStyles({height: props.height});

Expand Down
4 changes: 2 additions & 2 deletions src/components/SelectCubes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ function useBuildGraph(items, locale) {
const subtopic = getAnnotation(item, "subtopic", locale);
const table = getAnnotation(item, "table", locale);
const hide = getAnnotation(item, "hide_in_ui", locale);
console.log(topic, topic_order);

if (!yn(hide)) {
graph.addNode(topic);
if(topic_order) {
console.log(topic, topic_order);

graph.addTopicOrder(topic, topic_order)
};
graph.addNode(subtopic);
Expand Down
3 changes: 1 addition & 2 deletions src/hooks/permalink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function parsePermalink(cube: TesseractCube, value: string | URLSearchPar
const search = new URLSearchParams(value);

const params = requestToQueryParams(cube, search);
console.log(search.get("chart"));

return buildQuery({
panel: search.get("panel") || "table",
chart: search.get("chart") || "",
Expand Down Expand Up @@ -111,7 +111,6 @@ export function useUpdatePermaLink({

export function useKey(params: Partial<QueryParams> = {}) {
const queryItem = useSelector(selectCurrentQueryItem);
console.log(queryItem);
if (isValidQuery(queryItem.params)) {
return serializePermalink({...queryItem, params: {...queryItem.params, ...params}});
}
Expand Down

0 comments on commit cf3cf3d

Please sign in to comment.