diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-01-20 11:54:38 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-01-20 11:54:38 +0100 |
commit | e9060b04d477defe0bc7748b444336d1af572ab9 (patch) | |
tree | 7e691ce97889a13c98b093a67391f977221cd479 | |
parent | 9b5810b3e9fd67290c16de810ac5e995925d618e (diff) |
[Glitch] Hide floating action button on search and getting started pages
Port 30af4ee65ff43c17d6f7b1b64d6bf1d8699f37c8 to glitch-soc
-rw-r--r-- | app/javascript/flavours/glitch/features/ui/components/columns_area.js | 2 |
1 files changed, 1 insertions, 1 deletions
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' }, |