Browse Source

Fix fedi/local timeline nav link always hide (#19329)

pull/1253/head
Yamagishi Kazutoshi 4 years ago committed by GitHub
parent
commit
d3f1a010e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/features/ui/components/navigation_panel.js

2
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)} />

Loading…
Cancel
Save