Hide floating action button on search and getting started pages (#9826)
This commit is contained in:
1 parent
3b3a4d8a17
commit
30af4ee65f
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user