diff --git a/app/MindWork AI Studio/Pages/About.razor.cs b/app/MindWork AI Studio/Pages/About.razor.cs index c670738e..c678334c 100644 --- a/app/MindWork AI Studio/Pages/About.razor.cs +++ b/app/MindWork AI Studio/Pages/About.razor.cs @@ -92,7 +92,7 @@ public partial class About : MSGComponentBase break; } - this.StateHasChanged(); + await this.InvokeAsync(this.StateHasChanged); } private string PandocButtonText @@ -111,7 +111,9 @@ public partial class About : MSGComponentBase private async Task ShowPandocDialog() { - await this.DialogService.ShowAsync(T("Pandoc Installation"), DialogOptions.FULLSCREEN); + var dialogReference = await this.DialogService.ShowAsync(T("Pandoc Installation"), DialogOptions.FULLSCREEN); + await dialogReference.Result; + await this.DeterminePandocVersion(); } private async Task CopyStartupLogPath()