diff options
| author | taichan <40626578+tai-cha@users.noreply.github.com> | 2024-07-31 18:10:36 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-31 18:10:36 +0900 |
| commit | d6ba12e24c78611d80a005efef4340681949931b (patch) | |
| tree | 4157559abc2cd6ab62f77f45e83f0c28a0ba7949 /packages/frontend/src/timelines.ts | |
| parent | chore(locale): update index.d.ts (#14339) (diff) | |
| download | sharkey-d6ba12e24c78611d80a005efef4340681949931b.tar.gz sharkey-d6ba12e24c78611d80a005efef4340681949931b.tar.bz2 sharkey-d6ba12e24c78611d80a005efef4340681949931b.zip | |
Fix(frontend): LTL無効時にヘッダーにSTLが表示されてしまう & デフォルト、クラシックでリストが消えている (#14337)
* Fix condition of STL available
* Fix: condition of stl
* Listがタイムラインのヘッダーから消えている
Diffstat (limited to 'packages/frontend/src/timelines.ts')
| -rw-r--r-- | packages/frontend/src/timelines.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/timelines.ts b/packages/frontend/src/timelines.ts index 3ef95fd272..94eda3545e 100644 --- a/packages/frontend/src/timelines.ts +++ b/packages/frontend/src/timelines.ts @@ -39,7 +39,7 @@ export function isAvailableBasicTimeline(timeline: BasicTimelineType | undefined case 'local': return ($i == null && instance.policies.ltlAvailable) || ($i != null && $i.policies.ltlAvailable); case 'social': - return $i != null && instance.policies.ltlAvailable; + return $i != null && $i.policies.ltlAvailable; case 'global': return ($i == null && instance.policies.gtlAvailable) || ($i != null && $i.policies.gtlAvailable); default: |