fix: don't show rtl if disabled, regardless of perms

This commit is contained in:
ThatOneCalculator 2022-11-16 01:46:09 -08:00
parent cae813d9d2
commit 395758021f

View file

@ -86,9 +86,7 @@ if (defaultStore.reactiveState.tutorial.value !== -1) {
const isLocalTimelineAvailable =
!instance.disableLocalTimeline ||
($i != null && ($i.isModerator || $i.isAdmin));
const isRecommendedTimelineAvailable =
!instance.disableRecommendedTimeline ||
($i != null && ($i.isModerator || $i.isAdmin));
const isRecommendedTimelineAvailable = !instance.disableRecommendedTimeline;
const isGlobalTimelineAvailable =
!instance.disableGlobalTimeline ||
($i != null && ($i.isModerator || $i.isAdmin));