mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 02:00:34 +01:00
Fix(frontend): LTL無効時にヘッダーにSTLが表示されてしまう & デフォルト、クラシックでリストが消えている (#14337)
* Fix condition of STL available * Fix: condition of stl * Listがタイムラインのヘッダーから消えている
This commit is contained in:
parent
4b04b2989b
commit
d6ba12e24c
2 changed files with 6 additions and 1 deletions
|
@ -287,6 +287,11 @@ const headerTabs = computed(() => [...(defaultStore.reactiveState.pinnedUserList
|
||||||
icon: basicTimelineIconClass(tl),
|
icon: basicTimelineIconClass(tl),
|
||||||
iconOnly: true,
|
iconOnly: true,
|
||||||
})), {
|
})), {
|
||||||
|
icon: 'ti ti-list',
|
||||||
|
title: i18n.ts.lists,
|
||||||
|
iconOnly: true,
|
||||||
|
onClick: chooseList,
|
||||||
|
}, {
|
||||||
icon: 'ti ti-antenna',
|
icon: 'ti ti-antenna',
|
||||||
title: i18n.ts.antennas,
|
title: i18n.ts.antennas,
|
||||||
iconOnly: true,
|
iconOnly: true,
|
||||||
|
|
|
@ -39,7 +39,7 @@ export function isAvailableBasicTimeline(timeline: BasicTimelineType | undefined
|
||||||
case 'local':
|
case 'local':
|
||||||
return ($i == null && instance.policies.ltlAvailable) || ($i != null && $i.policies.ltlAvailable);
|
return ($i == null && instance.policies.ltlAvailable) || ($i != null && $i.policies.ltlAvailable);
|
||||||
case 'social':
|
case 'social':
|
||||||
return $i != null && instance.policies.ltlAvailable;
|
return $i != null && $i.policies.ltlAvailable;
|
||||||
case 'global':
|
case 'global':
|
||||||
return ($i == null && instance.policies.gtlAvailable) || ($i != null && $i.policies.gtlAvailable);
|
return ($i == null && instance.policies.gtlAvailable) || ($i != null && $i.policies.gtlAvailable);
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue