AI-Studio/app/MindWork AI Studio/Components/Issues.razor

17 lines
522 B
Plaintext
Raw Normal View History

@inherits MSGComponentBase
2024-07-28 11:53:22 +00:00
@if (this.IssuesData.Any())
{
<MudPaper Class="pa-3 mr-3 mt-3 border-dashed border rounded-lg mud-alert-outlined-error">
<MudText Typo="Typo.h6">
@T("Issues")
</MudText>
2024-07-28 11:53:22 +00:00
<MudList T="string">
@foreach (var issue in this.IssuesData)
{
<MudListItem Icon="@Icons.Material.Filled.Error" IconColor="Color.Error">
@issue
</MudListItem>
}
</MudList>
</MudPaper>
}