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
Some checks failed
Deploy production / deploy (push) Has been cancelled
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user