mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-09 13:29:40 +00:00
Refactored issue handling (#55)
This commit is contained in:
1 parent
b3b8bf23dc
commit
f3aa38e090
5 files changed
+28
-31
No files matched your search
@@ -1,6 +1,7 @@
|
||||
@using AIStudio.Provider
|
||||
@using AIStudio.Provider.SelfHosted
|
||||
@using MudBlazor
|
||||
@using AIStudio.Components.Blocks
|
||||
|
||||
<MudDialog>
|
||||
<DialogContent>
|
||||
@@ -92,21 +93,7 @@
|
||||
/>
|
||||
|
||||
</MudForm>
|
||||
|
||||
@if (this.dataIssues.Any())
|
||||
{
|
||||
<MudPaper Class="pa-2 mt-3">
|
||||
<MudText Typo="Typo.h6">Issues</MudText>
|
||||
<MudList T="string">
|
||||
@foreach (var issue in this.dataIssues)
|
||||
{
|
||||
<MudListItem T="string" Icon="@Icons.Material.Filled.Error" IconColor="Color.Error">
|
||||
@issue
|
||||
</MudListItem>
|
||||
}
|
||||
</MudList>
|
||||
</MudPaper>
|
||||
}
|
||||
<Issues IssuesData="@this.dataIssues"/>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
<MudButton OnClick="@this.Cancel" Variant="Variant.Filled">Cancel</MudButton>
|
||||
|
||||
Reference in new issue
Block a user