Skip to content

Commit ec41559

Browse files
committed
Revert "[DEBUG]"
This reverts commit 71a8e80.
1 parent 9741528 commit ec41559

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/QueryEditor.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ const QueryEditor: React.FC<Props> = ({ datasource, query, range, onChange, onRu
6363
const { nodes = [], instances = [], labels = [] } = summary || {};
6464
const { dimensions, units } = view || {};
6565
setFilters(getFilters(labels));
66-
const options = getGroupingByList(labels);
67-
console.log({ labels, options });
68-
setGroupingByList(options);
66+
setGroupingByList(getGroupingByList(labels));
6967
setAllDimension(getDimensions(dimensions));
7068
setUnits(units);
7169
setTotalNodes(nodes.length);

src/shared/utils/transformations.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,5 @@ export const getFilters = (labels: any[]) => {
2626
};
2727

2828
export const getGroupingByList = (labels: any) => {
29-
const groupingByList = { ...GroupByList, ...labels.map((label: any) => ({ value: label.id, label: label.id })) };
30-
console.log({ labels, groupingByList });
3129
return { ...GroupByList, ...labels.map((label: any) => ({ value: label.id, label: label.id })) };
3230
};

0 commit comments

Comments
 (0)