mirror of
https://codeberg.org/yeentown/barkey
synced 2024-12-01 11:53:02 +00:00
配信停止したインスタンス一覧が見れなくなる問題を修正 (#13945)
* 配信停止したインスタンス一覧が見れなくなる問題を修正 * Update CHANGELOG.md
This commit is contained in:
parent
3f76cfe9a6
commit
c39de769ca
2 changed files with 14 additions and 2 deletions
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -1,3 +1,15 @@
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### General
|
||||||
|
- Fix: 配信停止したインスタンス一覧が見れなくなる問題を修正
|
||||||
|
|
||||||
|
### Client
|
||||||
|
-
|
||||||
|
|
||||||
|
### Server
|
||||||
|
- チャート生成時にinstance.suspentionStateに置き換えられたinstance.isSuspendedが参照されてしまう問題を修正
|
||||||
|
|
||||||
|
|
||||||
## 2024.5.0
|
## 2024.5.0
|
||||||
|
|
||||||
### Note
|
### Note
|
||||||
|
|
|
@ -125,9 +125,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
|
|
||||||
if (typeof ps.suspended === 'boolean') {
|
if (typeof ps.suspended === 'boolean') {
|
||||||
if (ps.suspended) {
|
if (ps.suspended) {
|
||||||
query.andWhere('instance.isSuspended = TRUE');
|
query.andWhere('instance.suspensionState != \'none\'');
|
||||||
} else {
|
} else {
|
||||||
query.andWhere('instance.isSuspended = FALSE');
|
query.andWhere('instance.suspensionState = \'none\'');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue