Updating Mudblazor Version
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<h3>UnitTable</h3>
|
||||
|
||||
@code {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<h3>WeaponTable</h3>
|
||||
|
||||
|
||||
<MudDataGrid Items="@_entityWeapons.Take(4)">
|
||||
<Columns>
|
||||
<PropertyColumn Property="x => x.Range" Title="Nr"/>
|
||||
</Columns>
|
||||
</MudDataGrid>
|
||||
|
||||
@code {
|
||||
List<EntityWeaponModel> _entityWeapons;
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
base.OnInitialized();
|
||||
|
||||
_entityWeapons = DATA.Get()
|
||||
.SelectMany(e => e.Value.EntityParts)
|
||||
.OfType<EntityWeaponModel>()
|
||||
.ToList();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user