Skip to content

Commit

Permalink
fix saving sql analytics unit (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
sblrok authored Oct 13, 2020
1 parent 1d6d654 commit 93dadd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/panel/graph_panel/graph_ctrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ class GraphCtrl extends MetricsPanelCtrl {
if(datasource.access !== 'proxy') {
throw new Error(`"${datasource.name}" datasource has "Browser" access type but only "Server" is supported`);
}
this._datasourceRequest.datasourceId = datasource.id;
this._datasourceRequest.type = datasource.type;
}
return this._datasourceRequest;
Expand Down
1 change: 1 addition & 0 deletions src/panel/graph_panel/models/datasource.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export type DatasourceRequest = {
datasourceId?: string;
method: string,
data: Object,
params: Object,
Expand Down

0 comments on commit 93dadd1

Please sign in to comment.