mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-24 20:52:11 +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">
|
<MudDialog DefaultFocus="DefaultFocus.None">
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<MudStack Spacing="2">
|
<MudStack Spacing="2">
|
||||||
@if (!string.IsNullOrWhiteSpace(this.issue))
|
|
||||||
{
|
|
||||||
<MudAlert Severity="Severity.Error" Dense="true">
|
|
||||||
@this.issue
|
|
||||||
</MudAlert>
|
|
||||||
}
|
|
||||||
|
|
||||||
@if (this.isLoading)
|
@if (this.isLoading)
|
||||||
{
|
{
|
||||||
<MudProgressLinear Indeterminate="true" Color="Color.Primary" />
|
<MudProgressLinear Indeterminate="true" Color="Color.Primary" />
|
||||||
@ -35,6 +28,12 @@
|
|||||||
</MudStack>
|
</MudStack>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<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">
|
<MudButton OnClick="@this.Cancel" Disabled="@this.isSaving" Size="Size.Small">
|
||||||
@T("Cancel")
|
@T("Cancel")
|
||||||
</MudButton>
|
</MudButton>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user