set the DefaultDBType as the default database option in the Installer and Add Site UI

This commit is contained in:
Shaun Walker
2021-06-11 08:43:46 -04:00
parent aa5aca3a8e
commit 8f944e29ac
4 changed files with 33 additions and 5 deletions

View File

@ -31,7 +31,14 @@
{
foreach (var database in _databases)
{
<option value="@database.Name">@Localizer[@database.Name]</option>
if (database.IsDefault)
{
<option value="@database.Name" selected>@Localizer[@database.Name]</option>
}
else
{
<option value="@database.Name">@Localizer[@database.Name]</option>
}
}
}
</select>