Commit 3fe7e37 1 parent 7fe3035 commit 3fe7e37 Copy full SHA for 3fe7e37
File tree 3 files changed +3
-2
lines changed
packages/frontend/src/widgets/server-metric
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
### Client
7
7
- サイズ制限を超過するファイルをアップロードしようとした際にエラーを出すように
8
+ - Fix: サーバーメトリクスが2つ以上あるとリロード直後の表示がおかしくなる問題を修正
8
9
9
10
### Server
10
11
- ファイルがサイズの制限を超えてアップロードされた際にエラーを返さなかった問題を修正
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ function onStats(connStats: Misskey.entities.ServerStats) {
138
138
}
139
139
140
140
function onStatsLog(statsLog: Misskey.entities.ServerStatsLog) {
141
- for (const revStats of statsLog.reverse ()) {
141
+ for (const revStats of statsLog.toReversed ()) {
142
142
onStats(revStats);
143
143
}
144
144
}
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ function onStats(connStats: Misskey.entities.ServerStats) {
111
111
}
112
112
113
113
function onStatsLog(statsLog: Misskey.entities.ServerStatsLog) {
114
- for (const revStats of statsLog.reverse ()) {
114
+ for (const revStats of statsLog.toReversed ()) {
115
115
onStats(revStats);
116
116
}
117
117
}
You can’t perform that action at this time.
0 commit comments