From: tmm576 Date: Thu, 17 Jan 2019 08:22:12 +0000 (-0500) Subject: Hide floating action button on search and getting started pages (#9826) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=30af4ee65ff43c17d6f7b1b64d6bf1d8699f37c8;p=mastodon.git Hide floating action button on search and getting started pages (#9826) --- diff --git a/app/javascript/mastodon/features/ui/components/columns_area.js b/app/javascript/mastodon/features/ui/components/columns_area.js index ed338c2eb..b7e350cbc 100644 --- a/app/javascript/mastodon/features/ui/components/columns_area.js +++ b/app/javascript/mastodon/features/ui/components/columns_area.js @@ -33,7 +33,7 @@ const messages = defineMessages({ publish: { id: 'compose_form.publish', defaultMessage: 'Toot' }, }); -const shouldHideFAB = path => path.match(/^\/statuses\//); +const shouldHideFAB = path => path.match(/^\/statuses\/|^\/search|^\/getting-started/); export default @(component => injectIntl(component, { withRef: true })) class ColumnsArea extends ImmutablePureComponent {