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

lolsob-rspec
Yamagishi Kazutoshi 2022-10-10 02:26:14 +09:00 committed by GitHub
parent 7d86eadd27
commit fca4e2c284
1 changed files with 1 additions and 1 deletions

View File

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