1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 23:08:25 +09:00

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

This commit is contained in:
tmm576 2019-01-17 03:22:12 -05:00 committed by Eugen Rochko
parent 3b3a4d8a17
commit 30af4ee65f

View File

@ -33,7 +33,7 @@ const messages = defineMessages({
publish: { id: 'compose_form.publish', defaultMessage: 'Toot' }, 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 })) export default @(component => injectIntl(component, { withRef: true }))
class ColumnsArea extends ImmutablePureComponent { class ColumnsArea extends ImmutablePureComponent {