DungeonBuilder UI Attempt.4
This commit is contained in:
@@ -269,7 +269,7 @@
|
||||
<option value="">-- None --</option>
|
||||
@foreach (var dt in Model.DamageTypes)
|
||||
{
|
||||
<option value="@dt.Key">@dt.Name</option>
|
||||
<option value="@dt.Key">@dt.DisplayName</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -156,7 +156,7 @@ public class ObjectEditModel : AdminPageModel
|
||||
.ToListAsync();
|
||||
|
||||
DamageTypes = await _db.DamageResistanceTypes
|
||||
.OrderBy(d => d.Name)
|
||||
.OrderBy(d => d.DisplayName)
|
||||
.ToListAsync();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user