From: Takeshi Umeda Date: Sun, 30 Dec 2018 17:57:50 +0000 (+0900) Subject: If it is disabled, remove the link of the profile directory (#9665) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=1340460c85bae87780f9ae41187739d01450911e;p=mastodon.git If it is disabled, remove the link of the profile directory (#9665) --- 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 {