web/admin: fix proxy provider's certificate not being optional
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
f51ab7a878
commit
11607622a3
|
@ -154,6 +154,7 @@ export class ProxyProviderFormPage extends ModelForm<ProxyProvider, number> {
|
||||||
label=${t`Certificate`}
|
label=${t`Certificate`}
|
||||||
name="certificate">
|
name="certificate">
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
|
<option value="" ?selected=${this.instance?.certificate === undefined}>---------</option>
|
||||||
${until(new CryptoApi(DEFAULT_CONFIG).cryptoCertificatekeypairsList({
|
${until(new CryptoApi(DEFAULT_CONFIG).cryptoCertificatekeypairsList({
|
||||||
ordering: "pk",
|
ordering: "pk",
|
||||||
hasKey: "true",
|
hasKey: "true",
|
||||||
|
|
Reference in New Issue