aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/ChangeServer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/auth/ChangeServer.tsx')
-rw-r--r--src/components/auth/ChangeServer.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/auth/ChangeServer.tsx b/src/components/auth/ChangeServer.tsx
index d8509f599..c49e52673 100644
--- a/src/components/auth/ChangeServer.tsx
+++ b/src/components/auth/ChangeServer.tsx
@@ -4,7 +4,7 @@ import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl';
4import { mdiArrowLeftCircle } from '@mdi/js'; 4import { mdiArrowLeftCircle } from '@mdi/js';
5import { noop } from 'lodash'; 5import { noop } from 'lodash';
6import Form from '../../lib/Form'; 6import Form from '../../lib/Form';
7import Input from '../ui/Input'; 7import Input from '../ui/input/index';
8import Select from '../ui/Select'; 8import Select from '../ui/Select';
9import Button from '../ui/button'; 9import Button from '../ui/button';
10import Link from '../ui/Link'; 10import Link from '../ui/Link';
@@ -128,7 +128,10 @@ class ChangeServer extends Component<IProps> {
128 )} 128 )}
129 <Select field={form.$('server')} /> 129 <Select field={form.$('server')} />
130 {!this.defaultServers.includes(form.$('server').value) && ( 130 {!this.defaultServers.includes(form.$('server').value) && (
131 <Input placeholder="Custom Server" field={form.$('customServer')} /> 131 <Input
132 placeholder="Custom Server"
133 {...form.$('customServer').bind()}
134 />
132 )} 135 )}
133 <Button 136 <Button
134 type="submit" 137 type="submit"