web/admin: fix proxy provider's certificate not being optional

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-30 00:22:58 +02:00
parent f51ab7a878
commit 11607622a3
1 changed files with 1 additions and 0 deletions

View File

@ -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",