Fix(frontend): LTL無効時にヘッダーにSTLが表示されてしまう & デフォルト、クラシックでリストが消えている (#14337)
* Fix condition of STL available * Fix: condition of stl * Listがタイムラインのヘッダーから消えている
This commit is contained in:
parent
4b04b2989b
commit
d6ba12e24c
@ -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 New Issue
Block a user