about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/ui/components/navigation_panel.js
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2022-10-10 02:26:14 +0900
committerGitHub <noreply@github.com>2022-10-09 19:26:14 +0200
commitd3f1a010e561e3de9a1d99ec104f5b286aaffbda (patch)
treee9ee1d77fd4e87c7bb2073213f2214c02823e82d /app/javascript/mastodon/features/ui/components/navigation_panel.js
parentf879c4274721ee23b709976ce7f913210b9322f0 (diff)
Fix fedi/local timeline nav link always hide (#19329)
Diffstat (limited to 'app/javascript/mastodon/features/ui/components/navigation_panel.js')
-rw-r--r--app/javascript/mastodon/features/ui/components/navigation_panel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/navigation_panel.js b/app/javascript/mastodon/features/ui/components/navigation_panel.js
index aa917c1ca..4dadf294d 100644
--- a/app/javascript/mastodon/features/ui/components/navigation_panel.js
+++ b/app/javascript/mastodon/features/ui/components/navigation_panel.js
@@ -58,7 +58,7 @@ class NavigationPanel extends React.Component {
         )}
 
         <ColumnLink transparent to='/explore' icon='hashtag' text={intl.formatMessage(messages.explore)} />
-        {signedIn || timelinePreview && (
+        {(signedIn || timelinePreview) && (
           <>
             <ColumnLink transparent to='/public/local' icon='users' text={intl.formatMessage(messages.local)} />
             <ColumnLink transparent exact to='/public' icon='globe' text={intl.formatMessage(messages.federated)} />