Commit fc91e1cf by Torkel Ödegaard

Fixed issue with gauge requests being cancelled

parent 0493d905
......@@ -28,7 +28,7 @@ interface RenderProps {
export interface Props {
datasource: string | null;
queries: any[];
panelId?: number;
panelId: number;
dashboardId?: number;
isVisible?: boolean;
timeRange?: TimeRange;
......@@ -50,7 +50,6 @@ export interface State {
export class DataPanel extends Component<Props, State> {
static defaultProps = {
isVisible: true,
panelId: 1,
dashboardId: 1,
};
......
......@@ -149,6 +149,7 @@ export class PanelChrome extends PureComponent<Props, State> {
this.renderPanel(false, panel.snapshotData, width, height)
) : (
<DataPanel
panelId={panel.id}
datasource={datasource}
queries={targets}
timeRange={timeRange}
......
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