diff options
Diffstat (limited to 'src/components/settings/navigation/SettingsNavigation.js')
-rw-r--r-- | src/components/settings/navigation/SettingsNavigation.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/settings/navigation/SettingsNavigation.js b/src/components/settings/navigation/SettingsNavigation.js index 763f4e8a7..ad1cef1e4 100644 --- a/src/components/settings/navigation/SettingsNavigation.js +++ b/src/components/settings/navigation/SettingsNavigation.js | |||
@@ -4,7 +4,7 @@ import { defineMessages, injectIntl } from 'react-intl'; | |||
4 | import { inject, observer } from 'mobx-react'; | 4 | import { inject, observer } from 'mobx-react'; |
5 | import { RouterStore } from 'mobx-react-router'; | 5 | import { RouterStore } from 'mobx-react-router'; |
6 | 6 | ||
7 | import { LOCAL_SERVER, LIVE_FERDI_API, LIVE_FRANZ_API } from '../../../config'; | 7 | import { LOCAL_SERVER, LIVE_FERDIUM_API, LIVE_FRANZ_API } from '../../../config'; |
8 | import Link from '../../ui/Link'; | 8 | import Link from '../../ui/Link'; |
9 | import UIStore from '../../../stores/UIStore'; | 9 | import UIStore from '../../../stores/UIStore'; |
10 | import SettingsStore from '../../../stores/SettingsStore'; | 10 | import SettingsStore from '../../../stores/SettingsStore'; |
@@ -32,9 +32,9 @@ const messages = defineMessages({ | |||
32 | id: 'settings.navigation.team', | 32 | id: 'settings.navigation.team', |
33 | defaultMessage: 'Manage Team', | 33 | defaultMessage: 'Manage Team', |
34 | }, | 34 | }, |
35 | supportFerdi: { | 35 | supportFerdium: { |
36 | id: 'settings.navigation.supportFerdi', | 36 | id: 'settings.navigation.supportFerdium', |
37 | defaultMessage: 'About Ferdi', | 37 | defaultMessage: 'About Ferdium', |
38 | }, | 38 | }, |
39 | logout: { | 39 | logout: { |
40 | id: 'settings.navigation.logout', | 40 | id: 'settings.navigation.logout', |
@@ -65,11 +65,11 @@ class SettingsNavigation extends Component { | |||
65 | localStorage.removeItem('authToken'); | 65 | localStorage.removeItem('authToken'); |
66 | 66 | ||
67 | if (isUsingWithoutAccount) { | 67 | if (isUsingWithoutAccount) { |
68 | // Reset server back to Ferdi API | 68 | // Reset server back to Ferdium API |
69 | this.props.actions.settings.update({ | 69 | this.props.actions.settings.update({ |
70 | type: 'app', | 70 | type: 'app', |
71 | data: { | 71 | data: { |
72 | server: LIVE_FERDI_API, | 72 | server: LIVE_FERDIUM_API, |
73 | }, | 73 | }, |
74 | }); | 74 | }); |
75 | } | 75 | } |
@@ -77,7 +77,7 @@ class SettingsNavigation extends Component { | |||
77 | 77 | ||
78 | this.props.stores.router.push('/auth/welcome'); | 78 | this.props.stores.router.push('/auth/welcome'); |
79 | 79 | ||
80 | // Reload Ferdi, otherwise many settings won't sync correctly with the server | 80 | // Reload Ferdium, otherwise many settings won't sync correctly with the server |
81 | // after logging into another account | 81 | // after logging into another account |
82 | window.location.reload(); | 82 | window.location.reload(); |
83 | } | 83 | } |
@@ -148,7 +148,7 @@ class SettingsNavigation extends Component { | |||
148 | className="settings-navigation__link" | 148 | className="settings-navigation__link" |
149 | activeClassName="is-active" | 149 | activeClassName="is-active" |
150 | > | 150 | > |
151 | {intl.formatMessage(messages.supportFerdi)} | 151 | {intl.formatMessage(messages.supportFerdium)} |
152 | </Link> | 152 | </Link> |
153 | <span className="settings-navigation__expander" /> | 153 | <span className="settings-navigation__expander" /> |
154 | <button | 154 | <button |