Hide floating action button on search and getting started pages (#9826)

lolsob-rspec
tmm576 2019-01-17 03:22:12 -05:00 committed by Eugen Rochko
parent cbb8399df4
commit 180a665f29
1 changed files with 1 additions and 1 deletions

View File

@ -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 {