@ -7,7 +7,7 @@ import { connect } from 'react-redux';
import PropTypes from 'prop-types' ;
import PropTypes from 'prop-types' ;
import ImmutablePropTypes from 'react-immutable-proptypes' ;
import ImmutablePropTypes from 'react-immutable-proptypes' ;
import ImmutablePureComponent from 'react-immutable-pure-component' ;
import ImmutablePureComponent from 'react-immutable-pure-component' ;
import { me , profile_directory , showTrends } from '../../initial_state' ;
import { me , showTrends } from '../../initial_state' ;
import { fetchFollowRequests } from 'mastodon/actions/accounts' ;
import { fetchFollowRequests } from 'mastodon/actions/accounts' ;
import { List as ImmutableList } from 'immutable' ;
import { List as ImmutableList } from 'immutable' ;
import NavigationContainer from '../compose/containers/navigation_container' ;
import NavigationContainer from '../compose/containers/navigation_container' ;
@ -35,7 +35,6 @@ const messages = defineMessages({
personal : { id : 'navigation_bar.personal' , defaultMessage : 'Personal' } ,
personal : { id : 'navigation_bar.personal' , defaultMessage : 'Personal' } ,
security : { id : 'navigation_bar.security' , defaultMessage : 'Security' } ,
security : { id : 'navigation_bar.security' , defaultMessage : 'Security' } ,
menu : { id : 'getting_started.heading' , defaultMessage : 'Getting started' } ,
menu : { id : 'getting_started.heading' , defaultMessage : 'Getting started' } ,
profile _directory : { id : 'getting_started.directory' , defaultMessage : 'Profile directory' } ,
} ) ;
} ) ;
const mapStateToProps = state => ( {
const mapStateToProps = state => ( {
@ -104,25 +103,11 @@ class GettingStarted extends ImmutablePureComponent {
height += 34 + 48 * 2 ;
height += 34 + 48 * 2 ;
if ( profile _directory ) {
navItems . push (
< ColumnLink key = 'directory' icon = 'address-book' text = { intl . formatMessage ( messages . profile _directory ) } to = '/directory' / > ,
) ;
height += 48 ;
}
navItems . push (
navItems . push (
< ColumnSubheading key = 'header-personal' text = { intl . formatMessage ( messages . personal ) } / > ,
< ColumnSubheading key = 'header-personal' text = { intl . formatMessage ( messages . personal ) } / > ,
) ;
) ;
height += 34 ;
height += 34 ;
} else if ( profile _directory ) {
navItems . push (
< ColumnLink key = 'directory' icon = 'address-book' text = { intl . formatMessage ( messages . profile _directory ) } to = '/directory' / > ,
) ;
height += 48 ;
}
}
if ( multiColumn && ! columns . find ( item => item . get ( 'id' ) === 'HOME' ) ) {
if ( multiColumn && ! columns . find ( item => item . get ( 'id' ) === 'HOME' ) ) {