fix: fill mini charts by 0

This commit is contained in:
Namekuji 2023-09-26 22:57:38 -04:00
parent 367ac55d56
commit 88cc2336cf
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -107,7 +107,7 @@ export default define(meta, paramDef, async () => {
if (scyllaClient) {
const stats = hots.map((tag, i) => ({
tag,
chart: [], // FIXME: generate chart
chart: new Array<number>(20).fill(0, 0, 20), // FIXME: generate chart
usersCount: tags[i].users.size,
}));