From: Thibaut Girka Date: Sun, 20 Jan 2019 10:54:38 +0000 (+0100) Subject: [Glitch] Hide floating action button on search and getting started pages X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=e9060b04d477defe0bc7748b444336d1af572ab9;p=mastodon.git [Glitch] Hide floating action button on search and getting started pages Port 30af4ee65ff43c17d6f7b1b64d6bf1d8699f37c8 to glitch-soc --- diff --git a/app/javascript/flavours/glitch/features/ui/components/columns_area.js b/app/javascript/flavours/glitch/features/ui/components/columns_area.js index 61f6c0fed..83b797305 100644 --- a/app/javascript/flavours/glitch/features/ui/components/columns_area.js +++ b/app/javascript/flavours/glitch/features/ui/components/columns_area.js @@ -30,7 +30,7 @@ const componentMap = { 'LIST': ListTimeline, }; -const shouldHideFAB = path => path.match(/^\/statuses\//); +const shouldHideFAB = path => path.match(/^\/statuses\/|^\/search|^\/getting-started/); const messages = defineMessages({ publish: { id: 'compose_form.publish', defaultMessage: 'Toot' },