cars: import handles models without years, keeps roman numerals upper-case; don't cache an empty overview
Some checks failed
Deploy production / deploy (push) Has been cancelled

This commit is contained in:
2026-10-24 15:46:24 +00:00
parent a04e5faebe
commit 9e30e4246f
2 changed files with 10 additions and 6 deletions

View File

@@ -132,7 +132,7 @@ export async function carOverview(): Promise<Overview> {
nlCars: Number(counts.nlCars)
}
};
overviewCache = { at: Date.now(), value };
if (value.stats.models) overviewCache = { at: Date.now(), value };
return value;
}