Split tables for the stats #6

Merged
sandre merged 11 commits from feature/split-stats-by-tables into master 2026-01-26 13:38:10 +00:00
Showing only changes of commit d31bd235bf - Show all commits

View File

@@ -193,7 +193,7 @@ export class SummaryComponent implements OnInit {
let firstYear: number = Number(data[0].label);
const now = new Date();
const currentYear = now.getFullYear();
const nbYears = currentYear - firstYear;
const nbYears = currentYear - firstYear + 1;
let listOfYears = new Array(nbYears)
.fill(null)
.map(() => firstYear++);