summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-24 07:02:27 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-24 07:02:27 +0900
commitfa3299840f505c2e03eedfe420e57365030547d3 (patch)
tree98ca435e5e443f3f241c0878745fc3d5fa574f19 /src
parent8.3.0 (diff)
downloadmisskey-fa3299840f505c2e03eedfe420e57365030547d3.tar.gz
misskey-fa3299840f505c2e03eedfe420e57365030547d3.tar.bz2
misskey-fa3299840f505c2e03eedfe420e57365030547d3.zip
Refactor
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 4e0050e8b9..8db54174ff 100644
--- a/src/client/app/desktop/views/pages/admin/admin.chart.vue
+++ b/src/client/app/desktop/views/pages/admin/admin.chart.vue
@@ -173,7 +173,7 @@ export default Vue.extend({
driveChart(local: boolean, total: boolean): any {
const data = this.stats.slice().reverse().map(x => ({
date: new Date(x.date),
- count: local ?
+ size: local ?
total ? x.drive.local.totalSize : x.drive.local.diffSize :
total ? x.drive.remote.totalSize : x.drive.remote.diffSize
}));
@@ -186,7 +186,7 @@ export default Vue.extend({
borderWidth: 2,
pointBackgroundColor: '#fff',
lineTension: 0,
- data: data.map(x => ({ t: x.date, y: x.count }))
+ data: data.map(x => ({ t: x.date, y: x.size }))
}]
}, {
scales: {