Skip to content

Commit

Permalink
refactor: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
knightss27 committed Jul 4, 2023
1 parent 580206b commit 1092cac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/WeathermapPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,6 @@ export const WeathermapPanel: React.FC<PanelProps<SimpleOptions>> = (props: Pane

// Check there is only one connection (otherwise this doesn't work)
if (forwardLinks.length === 1) {
console.log(forwardLinks[0].sides.Z.query);
// d.sides.A.query = prevLinks[0].sides.A.query
for (let key in forwardLinks[0].sides.Z) {
if (key !== 'labelOffset' && key !== 'anchor') {
// @ts-ignore
Expand Down Expand Up @@ -517,7 +515,6 @@ export const WeathermapPanel: React.FC<PanelProps<SimpleOptions>> = (props: Pane
}

let displayName = getDataFrameName(frame, data.series);
console.log(hoveredLink.link.sides.A.query);
return displayName === hoveredLink.link.sides.A.query || displayName === hoveredLink.link.sides.Z.query;
});

Expand Down Expand Up @@ -591,7 +588,7 @@ export const WeathermapPanel: React.FC<PanelProps<SimpleOptions>> = (props: Pane
displayMode: LegendDisplayMode.List,
placement: 'bottom',
isVisible: true,
showLegend: true,
showLegend: false,
}}
tweakScale={(opts, forField: Field<any, Vector<any>>) => {
opts.softMin = 0;
Expand Down

0 comments on commit 1092cac

Please sign in to comment.