mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
remove logging
This commit is contained in:
parent
658f419cab
commit
78a9243721
@ -86,9 +86,9 @@ export function calculateStats(options: CalculateStatsOptions): ColumnStats {
|
||||
// This lets the concrete implementations assume at least one row
|
||||
if (!table.rows || table.rows.length < 1) {
|
||||
const stats = {} as ColumnStats;
|
||||
queue.forEach(stat => {
|
||||
for (const stat of queue) {
|
||||
stats[stat.id] = stat.emptyInputResult !== null ? stat.emptyInputResult : null;
|
||||
});
|
||||
}
|
||||
return stats;
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,6 @@ export class DashboardPanel extends PureComponent<Props, State> {
|
||||
const hook = plugin.exports.reactPanel.panelTypeChangedHook;
|
||||
if (hook) {
|
||||
panel.options = hook(panel.options || {}, null, null);
|
||||
console.log('OPITONS', pluginId, panel);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,6 @@ export class SingleStatValueEditor extends PureComponent<Props> {
|
||||
onUnitChange = unit => this.props.onChange({ ...this.props.options, unit: unit.value });
|
||||
|
||||
onStatsChange = stats => {
|
||||
console.log('SELECTED', stats);
|
||||
const stat = stats[0] || StatID.mean;
|
||||
this.props.onChange({ ...this.props.options, stat });
|
||||
};
|
||||
@ -48,8 +47,6 @@ export class SingleStatValueEditor extends PureComponent<Props> {
|
||||
decimalsString = decimals.toString();
|
||||
}
|
||||
|
||||
console.log('xxx', stat);
|
||||
|
||||
return (
|
||||
<PanelOptionsGroup title="Value">
|
||||
<div className="gf-form">
|
||||
|
Loading…
Reference in New Issue
Block a user