mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
add default server name to add server form
This commit is contained in:
@@ -97,7 +97,8 @@ export const AddServerForm = ({ onCancel }: AddServerFormProps) => {
|
||||
const form = useForm({
|
||||
initialValues: {
|
||||
legacyAuth: false,
|
||||
name: (localSettings ? localSettings.env.SERVER_NAME : window.SERVER_NAME) ?? '',
|
||||
name:
|
||||
(localSettings ? localSettings.env.SERVER_NAME : window.SERVER_NAME) || 'My Server',
|
||||
password: '',
|
||||
preferInstantMix: undefined,
|
||||
savePassword: undefined,
|
||||
|
||||
Reference in New Issue
Block a user