Merge pull request #138 from julenbujanda/bugfix/dbconfig

Fix selected DB listed twice in Config
This commit is contained in:
Andrew Erlikh 2024-09-20 23:41:10 +07:00 committed by GitHub
commit d26ff73581
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,9 +106,8 @@
<tr>
<td>Use DB</td>
<td><select name="usedb" class="form-select">
<option selected>{{ .Config.UseDB }}</option>
<option value="sqlite">sqlite</option>
<option value="postgres">postgres</option>
<option value="sqlite" {{ if eq "sqlite" .Config.UseDB }}selected{{ end }}>sqlite</option>
<option value="postgres" {{ if eq "postgres" .Config.UseDB }}selected{{ end }}>postgres</option>
</select></td>
</tr>
<tr>