Remove limit on packages in chart

This commit is contained in:
rubenwardy 2022-11-09 19:46:42 +00:00
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);