Skip to content

Commit

Permalink
fix: Dashboard links (teslamate-org#3443)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien <[email protected]>
  • Loading branch information
jlestel and Julien authored Nov 17, 2023
1 parent fdb8b6c commit 036aa5b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions grafana/dashboards/charges.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
{
"targetBlank": false,
"title": "View charge details",
"url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric}"
"url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric:raw}"
}
]
},
Expand Down Expand Up @@ -302,7 +302,7 @@
{
"targetBlank": false,
"title": "Set Cost",
"url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric}"
"url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric:raw}"
}
]
},
Expand Down Expand Up @@ -389,7 +389,7 @@
{
"targetBlank": true,
"title": "Create or edit geo-fence",
"url": "[[base_url:raw]]/geo-fences/${__data.fields.path}"
"url": "[[base_url:raw]]/geo-fences/${__data.fields.path:raw}"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion grafana/dashboards/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@
{
"targetBlank": true,
"title": "",
"url": "[[base_url:raw]]/geo-fences/${__data.fields.id.numeric}/edit"
"url": "[[base_url:raw]]/geo-fences/${__data.fields.id.numeric:raw}/edit"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions grafana/dashboards/trip.json
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@
{
"targetBlank": false,
"title": "View charge details",
"url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric}"
"url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric:raw}"
}
]
},
Expand Down Expand Up @@ -1782,7 +1782,7 @@
{
"targetBlank": false,
"title": "Set Cost",
"url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric}"
"url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric:raw}"
}
]
},
Expand Down

0 comments on commit 036aa5b

Please sign in to comment.