Skip to content

Commit c1eda49

Browse files
committed
Bug fix
1 parent 31c02e1 commit c1eda49

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/components/ConfigEditor.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -220,28 +220,28 @@ export function ConfigEditor(props: Props) {
220220
required
221221
id="config-editor-tls-ca"
222222
value={jsonData.caCertPath}
223-
onChange={(evt: ChangeEvent<HTMLInputElement>) =>
223+
onChange={(event: ChangeEvent<HTMLInputElement>) =>
224224
onOptionsChange({
225225
...options,
226226
jsonData: {
227227
...jsonData,
228-
caCertPath: evt.target.value,
228+
caCertPath: event.target.value,
229229
},
230230
})
231231
}
232232
></Input>
233233
</Field>
234-
<Field label="Client Certificate" description="Path to public client certificate (.pem)">
234+
<Field label="Client Certificate" description="Path to public client certificate">
235235
<Input
236236
required
237237
id="config-editor-tls-cc"
238238
value={jsonData.clientCertPath}
239-
onChange={(evt: ChangeEvent<HTMLInputElement>) =>
239+
onChange={(event: ChangeEvent<HTMLInputElement>) =>
240240
onOptionsChange({
241241
...options,
242242
jsonData: {
243243
...jsonData,
244-
clientCertPath: evt.target.value,
244+
clientCertPath: event.target.value,
245245
},
246246
})
247247
}
@@ -252,12 +252,12 @@ export function ConfigEditor(props: Props) {
252252
required
253253
id="config-editor-tls-ck"
254254
value={jsonData.clientKeyPath}
255-
onChange={(evt: ChangeEvent<HTMLInputElement>) =>
255+
onChange={(event: ChangeEvent<HTMLInputElement>) =>
256256
onOptionsChange({
257257
...options,
258258
jsonData: {
259259
...jsonData,
260-
clientKeyPath: evt.target.value,
260+
clientKeyPath: event.target.value,
261261
},
262262
})
263263
}
@@ -283,11 +283,11 @@ export function ConfigEditor(props: Props) {
283283
},
284284
})
285285
}
286-
onChange={(evt: ChangeEvent<HTMLInputElement>) =>
286+
onChange={(event: ChangeEvent<HTMLInputElement>) =>
287287
onOptionsChange({
288288
...options,
289289
secureJsonData: {
290-
password: evt.target.value,
290+
clientKeyPassword: event.target.value,
291291
},
292292
})
293293
}

0 commit comments

Comments
 (0)