Fix incorrect use of old WebUI paths (#16773)
* Fix incorrect use of old WebUI paths PR #16171 renamed some routes but missed some occurrences. Without #16772, this leads to unreachable routes in those cases. * Fix floating action button being displayed on statuses and compose screen
This commit is contained in:
		@@ -53,7 +53,7 @@ const messages = defineMessages({
 | 
			
		||||
  publish: { id: 'compose_form.publish', defaultMessage: 'Toot' },
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
const shouldHideFAB = path => path.match(/^\/statuses\/|^\/search|^\/getting-started|^\/start/);
 | 
			
		||||
const shouldHideFAB = path => path.match(/^\/statuses\/|^\/@[^/]+\/\d+|^\/publish|^\/search|^\/getting-started|^\/start/);
 | 
			
		||||
 | 
			
		||||
export default @(component => injectIntl(component, { withRef: true }))
 | 
			
		||||
class ColumnsArea extends ImmutablePureComponent {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user