summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2018-07-27 19:12:16 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2018-07-27 19:12:16 +0900
commit68e28faedcbf0f53f6c3982077b0786e7b390f5c (patch)
treedd988b14f539b377d8c75d68f76cd718fe98fbec /src/client
parent5.6.1 (diff)
downloadmisskey-68e28faedcbf0f53f6c3982077b0786e7b390f5c.tar.gz
misskey-68e28faedcbf0f53f6c3982077b0786e7b390f5c.tar.bz2
misskey-68e28faedcbf0f53f6c3982077b0786e7b390f5c.zip
:sparkles:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/widgets/server.cpu-memory.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/widgets/server.cpu-memory.vue b/src/client/app/common/views/widgets/server.cpu-memory.vue
index 00c42bf73b..2988993c94 100644
--- a/src/client/app/common/views/widgets/server.cpu-memory.vue
+++ b/src/client/app/common/views/widgets/server.cpu-memory.vue
@@ -110,8 +110,8 @@ export default Vue.extend({
this.cpuPolylinePoints = cpuPolylinePoints.map(xy => `${xy[0]},${xy[1]}`).join(' ');
this.memPolylinePoints = memPolylinePoints.map(xy => `${xy[0]},${xy[1]}`).join(' ');
- this.cpuPolygonPoints = `${this.viewBoxX - (this.stats.length - 1)},${ this.viewBoxY } ${ this.cpuPolylinePoints } ${ this.viewBoxX },${ this.viewBoxY }`;
- this.memPolygonPoints = `${this.viewBoxX - (this.stats.length - 1)},${ this.viewBoxY } ${ this.memPolylinePoints } ${ this.viewBoxX },${ this.viewBoxY }`;
+ this.cpuPolygonPoints = `${this.viewBoxX - (this.stats.length - 1)},${this.viewBoxY} ${this.cpuPolylinePoints} ${this.viewBoxX},${this.viewBoxY}`;
+ this.memPolygonPoints = `${this.viewBoxX - (this.stats.length - 1)},${this.viewBoxY} ${this.memPolylinePoints} ${this.viewBoxX},${this.viewBoxY}`;
this.cpuHeadX = cpuPolylinePoints[cpuPolylinePoints.length - 1][0];
this.cpuHeadY = cpuPolylinePoints[cpuPolylinePoints.length - 1][1];