Skip to content

Commit

Permalink
fix odometer units (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
pichalite authored Feb 27, 2020
1 parent bd60366 commit d39a5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grafana/dashboards/internal/drive-details.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT CONCAT_WS(' - ', round(convert_km(start_km, 'km')), round(convert_km(end_km, 'km')))\nFROM drives d\nWHERE d.id = $drive_id",
"rawSql": "SELECT CONCAT_WS(' - ', round(convert_km(start_km, '$length_unit')), round(convert_km(end_km, '$length_unit')))\nFROM drives d\nWHERE d.id = $drive_id",
"refId": "A",
"select": [
[
Expand Down

0 comments on commit d39a5e4

Please sign in to comment.