From b0be4764b4fb8f6adaafbb2d583c74ab96354600 Mon Sep 17 00:00:00 2001 From: Jeremy Kescher Date: Sun, 6 Nov 2022 01:30:46 +0100 Subject: [PATCH] Keep showing explore tab, only statuses are hidden --- .../glitch/features/ui/components/navigation_panel.js | 4 ++-- .../mastodon/features/ui/components/navigation_panel.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js b/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js index bb444fa654..e566563dde 100644 --- a/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js +++ b/app/javascript/flavours/glitch/features/ui/components/navigation_panel.js @@ -55,9 +55,9 @@ class NavigationPanel extends React.Component { )} {showTrends ? ( - (signedIn || timelinePreview) ? : <> + ) : ( - (signedIn || timelinePreview) ? : <> + )} {(signedIn || timelinePreview) && ( diff --git a/app/javascript/mastodon/features/ui/components/navigation_panel.js b/app/javascript/mastodon/features/ui/components/navigation_panel.js index 2959cfcfed..6e435dfbad 100644 --- a/app/javascript/mastodon/features/ui/components/navigation_panel.js +++ b/app/javascript/mastodon/features/ui/components/navigation_panel.js @@ -59,9 +59,9 @@ class NavigationPanel extends React.Component { )} {showTrends ? ( - (signedIn || timelinePreview) ? : <> + ) : ( - (signedIn || timelinePreview) ? : <> + )} {(signedIn || timelinePreview) && (