[Glitch] Hide floating action button on search and getting started pages

Port 180a665f29 to glitch-soc
lolsob-rspec
Thibaut Girka 2019-01-20 11:54:38 +01:00
parent 30f3dad8e8
commit 8dea30a0c7
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ const componentMap = {
'LIST': ListTimeline,
};
const shouldHideFAB = path => path.match(/^\/statuses\//);
const shouldHideFAB = path => path.match(/^\/statuses\/|^\/search|^\/getting-started/);
const messages = defineMessages({
publish: { id: 'compose_form.publish', defaultMessage: 'Toot' },