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`}
|
||||
name="certificate">
|
||||
<select class="pf-c-form-control">
|
||||
<option value="" ?selected=${this.instance?.certificate === undefined}>---------</option>
|
||||
${until(new CryptoApi(DEFAULT_CONFIG).cryptoCertificatekeypairsList({
|
||||
ordering: "pk",
|
||||
hasKey: "true",
|
||||
|
|
Reference in a new issue