diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-07-27 19:12:16 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-07-27 19:12:16 +0900 |
| commit | 68e28faedcbf0f53f6c3982077b0786e7b390f5c (patch) | |
| tree | dd988b14f539b377d8c75d68f76cd718fe98fbec /src/client | |
| parent | 5.6.1 (diff) | |
| download | misskey-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.vue | 4 |
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]; |