From 1340460c85bae87780f9ae41187739d01450911e Mon Sep 17 00:00:00 2001 From: Takeshi Umeda Date: Mon, 31 Dec 2018 02:57:50 +0900 Subject: [PATCH] If it is disabled, remove the link of the profile directory (#9665) --- app/javascript/mastodon/features/getting_started/index.js | 4 ++-- app/javascript/mastodon/initial_state.js | 1 + app/serializers/initial_state_serializer.rb | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index 1ca3fbaa1..feecfd0e4 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -7,7 +7,7 @@ import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; -import { me, invitesEnabled, version } from '../../initial_state'; +import { me, invitesEnabled, version, profile_directory } from '../../initial_state'; import { fetchFollowRequests } from '../../actions/accounts'; import { List as ImmutableList } from 'immutable'; import { Link } from 'react-router-dom'; @@ -136,7 +136,7 @@ class GettingStarted extends ImmutablePureComponent {