Skip to content

Commit

Permalink
Hide floating action button on search and getting started pages (mast…
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm576 authored and hiyuki2578 committed Oct 2, 2019
1 parent 67b0e23 commit 6918c90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6918c90

Please sign in to comment.