@ -15,6 +15,7 @@ const messages = defineMessages({
domain _blocks : { id : 'navigation_bar.domain_blocks' , defaultMessage : 'Hidden domains' } ,
domain _blocks : { id : 'navigation_bar.domain_blocks' , defaultMessage : 'Hidden domains' } ,
mutes : { id : 'navigation_bar.mutes' , defaultMessage : 'Muted users' } ,
mutes : { id : 'navigation_bar.mutes' , defaultMessage : 'Muted users' } ,
filters : { id : 'navigation_bar.filters' , defaultMessage : 'Muted words' } ,
filters : { id : 'navigation_bar.filters' , defaultMessage : 'Muted words' } ,
logout : { id : 'navigation_bar.logout' , defaultMessage : 'Logout' } ,
} ) ;
} ) ;
export default @ injectIntl
export default @ injectIntl
@ -42,6 +43,8 @@ class ActionBar extends React.PureComponent {
menu . push ( { text : intl . formatMessage ( messages . blocks ) , to : '/blocks' } ) ;
menu . push ( { text : intl . formatMessage ( messages . blocks ) , to : '/blocks' } ) ;
menu . push ( { text : intl . formatMessage ( messages . domain _blocks ) , to : '/domain_blocks' } ) ;
menu . push ( { text : intl . formatMessage ( messages . domain _blocks ) , to : '/domain_blocks' } ) ;
menu . push ( { text : intl . formatMessage ( messages . filters ) , href : '/filters' } ) ;
menu . push ( { text : intl . formatMessage ( messages . filters ) , href : '/filters' } ) ;
menu . push ( null ) ;
menu . push ( { text : intl . formatMessage ( messages . logout ) , href : '/auth/sign_out' , target : null , method : 'delete' } ) ;
return (
return (
< div className = 'compose__action-bar' >
< div className = 'compose__action-bar' >