diff options
Diffstat (limited to 'src/components/settings/navigation/SettingsNavigation.js')
-rw-r--r-- | src/components/settings/navigation/SettingsNavigation.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/settings/navigation/SettingsNavigation.js b/src/components/settings/navigation/SettingsNavigation.js index 620f09189..46b2f82fc 100644 --- a/src/components/settings/navigation/SettingsNavigation.js +++ b/src/components/settings/navigation/SettingsNavigation.js | |||
@@ -44,12 +44,12 @@ export default class SettingsNavigation extends Component { | |||
44 | 44 | ||
45 | render() { | 45 | render() { |
46 | const { serviceCount } = this.props; | 46 | const { serviceCount } = this.props; |
47 | const { data: user } = this.props.stores.user; | 47 | const { features } = this.props.stores.features; |
48 | const { intl } = this.context; | 48 | const { intl } = this.context; |
49 | 49 | ||
50 | return ( | 50 | return ( |
51 | <div className="settings-navigation"> | 51 | <div className="settings-navigation"> |
52 | {user.clientSettings && user.clientSettings.userCanManageServices && ( | 52 | {features.userCanManageServices && ( |
53 | <Link | 53 | <Link |
54 | to="/settings/recipes" | 54 | to="/settings/recipes" |
55 | className="settings-navigation__link" | 55 | className="settings-navigation__link" |
@@ -100,8 +100,8 @@ export default class SettingsNavigation extends Component { | |||
100 | 100 | ||
101 | SettingsNavigation.wrappedComponent.propTypes = { | 101 | SettingsNavigation.wrappedComponent.propTypes = { |
102 | stores: PropTypes.shape({ | 102 | stores: PropTypes.shape({ |
103 | user: PropTypes.shape({ | 103 | features: PropTypes.shape({ |
104 | data: PropTypes.object.isRequired, | 104 | features: PropTypes.object.isRequired, |
105 | }).isRequired, | 105 | }).isRequired, |
106 | }).isRequired, | 106 | }).isRequired, |
107 | }; | 107 | }; |