File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change 178
178
<template v-else-if =" config .lockNetwork && ! store .state .serverConfiguration ?.public " >
179
179
<h2 >Network settings</h2 >
180
180
<div class =" connect-row" >
181
- <label for =" connect:name" >Name </label >
181
+ <label for =" connect:name" >Network </label >
182
182
<select
183
183
id =" connect:name"
184
184
v-model =" defaults.name"
185
185
class =" input"
186
186
name =" name"
187
187
>
188
188
<option
189
- v-for =" network in config .networks"
189
+ v-for =" network in store.state.serverConfiguration? .networks"
190
190
:key =" network.name"
191
191
:value =" network.name"
192
192
>
193
193
{{ network.name }}
194
194
</option >
195
195
</select >
196
196
</div >
197
- <div class =" connect-row" >
198
- <label for =" connect:password" >Password</label >
199
- <RevealPassword
200
- v-slot:default =" slotProps"
201
- class =" input-wrap password-container"
202
- >
203
- <input
204
- id =" connect:password"
205
- v-model =" defaults.password"
206
- class =" input"
207
- :type =" slotProps.isVisible ? 'text' : 'password'"
208
- placeholder =" Server password (optional)"
209
- name =" password"
210
- maxlength =" 300"
211
- />
212
- </RevealPassword >
213
- </div >
214
197
</template >
215
198
216
199
<h2 >User preferences</h2 >
You can’t perform that action at this time.
0 commit comments