Sessions UI: visualization, month/year charts (#15902)
This commit is contained in:
parent
1bd521fc24
commit
cfa35f295b
38 changed files with 3271 additions and 715 deletions
|
|
@ -41,12 +41,13 @@ export default function setupRouter(i18n) {
|
|||
},
|
||||
{
|
||||
path: "/sessions",
|
||||
component: () => import("./views/ChargingSessions.vue"),
|
||||
component: () => import("./views/Sessions.vue"),
|
||||
props: (route) => {
|
||||
const { month, year, loadpoint, vehicle } = route.query;
|
||||
const { month, year, loadpoint, vehicle, period } = route.query;
|
||||
return {
|
||||
month: month ? parseInt(month, 10) : undefined,
|
||||
year: year ? parseInt(year, 10) : undefined,
|
||||
period,
|
||||
loadpointFilter: loadpoint,
|
||||
vehicleFilter: vehicle,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue