diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index feecfd0e4..d56e7f142 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -32,6 +32,7 @@ const messages = defineMessages({ personal: { id: 'navigation_bar.personal', defaultMessage: 'Personal' }, security: { id: 'navigation_bar.security', defaultMessage: 'Security' }, menu: { id: 'getting_started.heading', defaultMessage: 'Getting started' }, + profile_directory: { id: 'getting_started.directory', defaultMessage: 'Profile directory' }, }); const mapStateToProps = state => ({ @@ -87,10 +88,30 @@ class GettingStarted extends ImmutablePureComponent { , , , + ); + + height += 34 + 48*2; + + if (profile_directory) { + navItems.push( + , + ); + + height += 48; + } + + navItems.push( ); - height += 34*2 + 48*2; + height += 34; + } else if (profile_directory) { + navItems.push( + , + , + ); + + height += 34 + 48; } navItems.push( @@ -136,7 +157,6 @@ class GettingStarted extends ImmutablePureComponent {
    - {profile_directory &&
  • ·
  • } {invitesEnabled &&
  • ·
  • } {multiColumn &&
  • ·
  • }
  • ·