diff options
author | 2019-08-28 13:13:44 +0200 | |
---|---|---|
committer | 2019-08-28 13:13:44 +0200 | |
commit | 40c0cf7b6cd575e540db1d921d55fd8c2d260420 (patch) | |
tree | 6c226326cfd82d0a8187a43349b3d8ab3cbcd3ef /src/components/auth/Login.js | |
parent | Add default value for server setting (diff) | |
download | ferdium-app-40c0cf7b6cd575e540db1d921d55fd8c2d260420.tar.gz ferdium-app-40c0cf7b6cd575e540db1d921d55fd8c2d260420.tar.zst ferdium-app-40c0cf7b6cd575e540db1d921d55fd8c2d260420.zip |
Lint
Diffstat (limited to 'src/components/auth/Login.js')
-rw-r--r-- | src/components/auth/Login.js | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js index 8777b00f8..f8caebd7e 100644 --- a/src/components/auth/Login.js +++ b/src/components/auth/Login.js | |||
@@ -141,11 +141,15 @@ export default @observer class Login extends Component { | |||
141 | <p className="error-message center">{intl.formatMessage(messages.invalidCredentials)}</p> | 141 | <p className="error-message center">{intl.formatMessage(messages.invalidCredentials)}</p> |
142 | { window.ferdi.stores.settings.all.app.server !== 'https://api.franzinfra.com' && ( | 142 | { window.ferdi.stores.settings.all.app.server !== 'https://api.franzinfra.com' && ( |
143 | <p className="error-message center"> | 143 | <p className="error-message center"> |
144 | Using a custom Ferdi server? Try{' '} | 144 | Using a custom Ferdi server? Try |
145 | <Link | 145 | {' '} |
146 | to={ window.ferdi.stores.settings.all.app.server.replace('v1', '') + '/import' } | 146 | <Link |
147 | target="_blank" | 147 | to={`${window.ferdi.stores.settings.all.app.server.replace('v1', '')}/import`} |
148 | style={{ cursor: 'pointer', textDecoration: 'underline' }}>importing your Franz account</Link> | 148 | target="_blank" |
149 | style={{ cursor: 'pointer', textDecoration: 'underline' }} | ||
150 | > | ||
151 | importing your Franz account | ||
152 | </Link> | ||
149 | </p> | 153 | </p> |
150 | )} | 154 | )} |
151 | </> | 155 | </> |