Upgraded to MudBlazor 9 (#1137)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-31 10:48:20 +01:00
1 parent e0337a99bc
commit aeba1fbccc
625 files changed
+408 -882

No files matched your search

@@ -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>