mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix timeColumnType assignment
This commit is contained in:
parent
9699d7a166
commit
c1890dbb6d
@ -196,7 +196,7 @@ export class PostgresQueryCtrl extends QueryCtrl {
|
||||
this.target.timeColumn = this.timeColumnSegment.value;
|
||||
this.datasource.metricFindQuery(this.metaBuilder.buildDatatypeQuery(this.target.timeColumn)).then(result => {
|
||||
if (result.length === 1) {
|
||||
this.target.timeColumnType = result[0];
|
||||
this.target.timeColumnType = result[0].text;
|
||||
}
|
||||
});
|
||||
this.panelCtrl.refresh();
|
||||
|
Loading…
Reference in New Issue
Block a user