summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-25 12:14:36 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-25 12:14:36 +0900
commit1c1e3009e9fe6263ac074629b0d7d753c78d0c8f (patch)
tree6f4d79234e426e54cc08223ecb992326d123a6ac /src
parent8.9.2 (diff)
downloadmisskey-1c1e3009e9fe6263ac074629b0d7d753c78d0c8f.tar.gz
misskey-1c1e3009e9fe6263ac074629b0d7d753c78d0c8f.tar.bz2
misskey-1c1e3009e9fe6263ac074629b0d7d753c78d0c8f.zip
:v:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/pages/admin/admin.chart.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/pages/admin/admin.chart.vue b/src/client/app/desktop/views/pages/admin/admin.chart.vue
index 4310ce03d6..cca05fec28 100644
--- a/src/client/app/desktop/views/pages/admin/admin.chart.vue
+++ b/src/client/app/desktop/views/pages/admin/admin.chart.vue
@@ -318,7 +318,7 @@ export default Vue.extend({
yAxes: [{
ticks: {
callback: value => {
- return Vue.filter('bytes')(value);
+ return Vue.filter('bytes')(value, 1);
}
}
}]
@@ -327,7 +327,7 @@ export default Vue.extend({
callbacks: {
label: (tooltipItem, data) => {
const label = data.datasets[tooltipItem.datasetIndex].label || '';
- return `${label}: ${Vue.filter('bytes')(tooltipItem.yLabel)}`;
+ return `${label}: ${Vue.filter('bytes')(tooltipItem.yLabel, 1)}`;
}
}
}