Skip to content

Commit

Permalink
Fix fedi/local timeline nav link always hide (mastodon#19329)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts authored and kadoshita committed Nov 19, 2022
1 parent 39515b2 commit 9fc7d0d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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)} />
Expand Down

0 comments on commit 9fc7d0d

Please sign in to comment.