mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-12 13:12:12 +00:00
moved error messages from header to footer so that they're always visible
This commit is contained in:
parent
df4663fff4
commit
4584726085
@ -3,13 +3,6 @@
|
||||
<MudDialog DefaultFocus="DefaultFocus.None">
|
||||
<DialogContent>
|
||||
<MudStack Spacing="2">
|
||||
@if (!string.IsNullOrWhiteSpace(this.issue))
|
||||
{
|
||||
<MudAlert Severity="Severity.Error" Dense="true">
|
||||
@this.issue
|
||||
</MudAlert>
|
||||
}
|
||||
|
||||
@if (this.isLoading)
|
||||
{
|
||||
<MudProgressLinear Indeterminate="true" Color="Color.Primary" />
|
||||
@ -35,6 +28,12 @@
|
||||
</MudStack>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
@if (!string.IsNullOrWhiteSpace(this.issue))
|
||||
{
|
||||
<MudAlert Severity="Severity.Error" Dense="true" Class="mx-3">
|
||||
@this.issue
|
||||
</MudAlert>
|
||||
}
|
||||
<MudButton OnClick="@this.Cancel" Disabled="@this.isSaving" Size="Size.Small">
|
||||
@T("Cancel")
|
||||
</MudButton>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user