From d4f13b90419b604c84d9a89635c5ea09be81d6cc Mon Sep 17 00:00:00 2001 From: Claire Date: Sat, 8 Oct 2022 18:50:46 +0200 Subject: Change “Explore” tab to only provide search when trends are disabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/flavours/glitch/features/getting_started/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/javascript/flavours/glitch/features/getting_started') diff --git a/app/javascript/flavours/glitch/features/getting_started/index.js b/app/javascript/flavours/glitch/features/getting_started/index.js index aa1d26cf5..8b6a617ff 100644 --- a/app/javascript/flavours/glitch/features/getting_started/index.js +++ b/app/javascript/flavours/glitch/features/getting_started/index.js @@ -138,7 +138,9 @@ const NAVIGATION_PANEL_BREAKPOINT = 600 + (285 * 2) + (10 * 2); } } - navItems.push(); + if (showTrends) { + navItems.push(); + } if (!multiColumn || !columns.find(item => item.get('id') === 'DIRECT')) { navItems.push(); -- cgit