ui: rating 显示向下取整

This commit is contained in:
undefined committed 2021-05-16 18:27:07 +08:00
1 parent 93ff1957d8
commit 218a14b91e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.8.18",
"version": "4.8.19",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -80,7 +80,7 @@ const page = new NamedPage('user_detail', async () => {
series: {
name: 'Rating',
type: 'line',
data: history,
data: history.map((i) => Math.floor(i)),
},
});
});