Commit d1ef95b9 by corpglory-dev

Minor fixes

parent 52e53e39
......@@ -5,8 +5,6 @@ import ValueOptions from './ValueOptions';
import { PiechartOptions } from './types';
export default class PiechartPanelOptions extends PureComponent<PanelEditorProps<PiechartOptions>> {
static defaultProps = defaultProps;
render() {
const { onChange, options } = this.props;
......
......@@ -18,7 +18,7 @@ export class PiechartPanel extends PureComponent<Props> {
const { panelData, width, height, options } = this.props;
const { valueOptions } = options;
let datapoints: PieChartDataPoint[] = [];
const datapoints: PieChartDataPoint[] = [];
if (panelData.timeSeries) {
const vmSeries = processTimeSeries({
timeSeries: panelData.timeSeries,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment