problems tree view
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
|
||||
@if (_diagnostics.Length is not 0)
|
||||
{
|
||||
@ProjectModel.Name
|
||||
@foreach(var diagnostic in _diagnostics)
|
||||
{
|
||||
<div>
|
||||
<strong>@diagnostic.Id</strong>: @diagnostic.GetMessage()
|
||||
</div>
|
||||
}
|
||||
<MudTreeViewItem T="string" TextTypo="Typo.body2" EndTextTypo="Typo.caption" Expanded="true" Icon="@Icons.Material.Filled.Code" IconColor="Color.Success" Value="@ProjectModel.Name" Text="@ProjectModel.Name" EndText="@($"{_diagnostics.Length} diagnostics")">
|
||||
@foreach (var diagnostic in _diagnostics)
|
||||
{
|
||||
<MudTreeViewItem T="string" TextTypo="Typo.body2" Icon="@Icons.Material.Filled.Folder" IconColor="Color.Primary" Value="@diagnostic.Id" Text="@diagnostic.Id">
|
||||
</MudTreeViewItem>
|
||||
}
|
||||
</MudTreeViewItem>
|
||||
}
|
||||
|
||||
@code {
|
||||
|
||||
Reference in New Issue
Block a user