web/admin: fix missing values for LDAP Provider form

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-05 11:42:09 +01:00
parent 17fccd44e6
commit 4380f37a77
1 changed files with 2 additions and 2 deletions

View File

@ -122,13 +122,13 @@ export class LDAPProviderFormPage extends ModelForm<LDAPProvider, number> {
<ak-form-element-horizontal label=${t`Search mode`} name="searchMode"> <ak-form-element-horizontal label=${t`Search mode`} name="searchMode">
<select class="pf-c-form-control"> <select class="pf-c-form-control">
<option <option
value="" value="${SearchModeEnum.Cached}"
?selected=${this.instance?.searchMode === SearchModeEnum.Cached} ?selected=${this.instance?.searchMode === SearchModeEnum.Cached}
> >
${t`Cached querying, the outpost holds all users and groups in-memory and will refresh every 5 Minutes.`} ${t`Cached querying, the outpost holds all users and groups in-memory and will refresh every 5 Minutes.`}
</option> </option>
<option <option
value="" value="${SearchModeEnum.Direct}"
?selected=${this.instance?.searchMode === SearchModeEnum.Direct} ?selected=${this.instance?.searchMode === SearchModeEnum.Direct}
> >
${t`Direct querying, always returns the latest data, but slower than cached querying.`} ${t`Direct querying, always returns the latest data, but slower than cached querying.`}