mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:27:21 +00:00
Upgraded to MudBlazor 9 (#1137)
This commit is contained in:
1 parent
e0337a99bc
commit
aeba1fbccc
625 files changed
+408
-882
No files matched your search
+6
-5
@@ -37,7 +37,7 @@ public partial class VisualBriefingAssistant
|
||||
if (selected is not null)
|
||||
await this.ApplySelectedProjectAsync(selected);
|
||||
else
|
||||
this.ClearSelectedProject();
|
||||
await this.ClearSelectedProjectAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -150,7 +150,7 @@ public partial class VisualBriefingAssistant
|
||||
this.BuildOrchestrator.ForgetBriefing(id);
|
||||
this.BuildProgressService.Forget(id);
|
||||
|
||||
this.ClearSelectedProject();
|
||||
await this.ClearSelectedProjectAsync();
|
||||
|
||||
await this.ReloadListAsync();
|
||||
}
|
||||
@@ -296,14 +296,14 @@ public partial class VisualBriefingAssistant
|
||||
}
|
||||
|
||||
await this.Store.RememberSelectionAsync(project.BriefingId);
|
||||
this.ClearSelectedProject();
|
||||
await this.ClearSelectedProjectAsync();
|
||||
this.selectedProject = project;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Clears editor-only state so an unavailable project cannot trigger saves or background work.
|
||||
/// </summary>
|
||||
private void ClearSelectedProject()
|
||||
private async Task ClearSelectedProjectAsync()
|
||||
{
|
||||
this.selectedProject = null;
|
||||
this.selectedBriefing = null;
|
||||
@@ -316,7 +316,8 @@ public partial class VisualBriefingAssistant
|
||||
this.lastPersistedState = string.Empty;
|
||||
this.formIssues = [];
|
||||
this.formValidationPending = false;
|
||||
this.visualBriefingForm?.ResetValidation();
|
||||
if (this.visualBriefingForm is not null)
|
||||
await this.visualBriefingForm.ResetValidationAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user