mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Remove limit on packages in chart
This commit is contained in:
parent
31aef061fb
commit
c9b5e3374c
@ -89,7 +89,6 @@ async function load_data() {
|
||||
const data = {
|
||||
datasets: Object.entries(json.package_downloads)
|
||||
.sort((a, b) => packageRecentDownloads[a[0]] - packageRecentDownloads[b[0]])
|
||||
.slice(0, 6)
|
||||
.map(([label, values]) => ({ label, data: getData(values) })),
|
||||
};
|
||||
setup_chart(ctx, data);
|
||||
|
Loading…
Reference in New Issue
Block a user