mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-01 11:23:42 +01:00
Keep showing explore tab, only statuses are hidden
This commit is contained in:
parent
7e0108bccd
commit
b0be4764b4
2 changed files with 4 additions and 4 deletions
|
@ -55,9 +55,9 @@ class NavigationPanel extends React.Component {
|
|||
)}
|
||||
|
||||
{showTrends ? (
|
||||
(signedIn || timelinePreview) ? <ColumnLink transparent to='/explore' icon='hashtag' text={intl.formatMessage(messages.explore)} /> : <></>
|
||||
<ColumnLink transparent to={(signedIn || timelinePreview) ? '/explore' : '/explore/tags'} icon='hashtag' text={intl.formatMessage(messages.explore)} />
|
||||
) : (
|
||||
(signedIn || timelinePreview) ? <ColumnLink transparent to='/search' icon='search' text={intl.formatMessage(messages.search)} /> : <></>
|
||||
<ColumnLink transparent to='/search' icon='search' text={intl.formatMessage(messages.search)} />
|
||||
)}
|
||||
|
||||
{(signedIn || timelinePreview) && (
|
||||
|
|
|
@ -59,9 +59,9 @@ class NavigationPanel extends React.Component {
|
|||
)}
|
||||
|
||||
{showTrends ? (
|
||||
(signedIn || timelinePreview) ? <ColumnLink transparent to='/explore' icon='hashtag' text={intl.formatMessage(messages.explore)} /> : <></>
|
||||
<ColumnLink transparent to={(signedIn || timelinePreview) ? '/explore' : '/explore/tags'} icon='hashtag' text={intl.formatMessage(messages.explore)} />
|
||||
) : (
|
||||
(signedIn || timelinePreview) ? <ColumnLink transparent to='/search' icon='search' text={intl.formatMessage(messages.search)} /> : <></>
|
||||
<ColumnLink transparent to='/search' icon='search' text={intl.formatMessage(messages.search)} />
|
||||
)}
|
||||
|
||||
{(signedIn || timelinePreview) && (
|
||||
|
|
Loading…
Reference in a new issue