From df3c28e55fbb033bce64e244a21838857f6e257f Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 30 May 2025 14:15:48 +0200 Subject: [PATCH] Go straight to the installation page of the pandoc dialog --- app/MindWork AI Studio/Pages/About.razor.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/MindWork AI Studio/Pages/About.razor.cs b/app/MindWork AI Studio/Pages/About.razor.cs index 3b9d5727..83925dbc 100644 --- a/app/MindWork AI Studio/Pages/About.razor.cs +++ b/app/MindWork AI Studio/Pages/About.razor.cs @@ -95,8 +95,16 @@ public partial class About : MSGComponentBase this.StateHasChanged(); } - private async Task ShowPandocDialog() => await this.DialogService.ShowAsync(T("Pandoc Installation"), DialogOptions.FULLSCREEN); - + private async Task ShowPandocDialog() + { + var dialogParameters = new DialogParameters + { + { x => x.ShowInstallationPage, true }, + }; + + await this.DialogService.ShowAsync(T("Pandoc Installation"), dialogParameters, DialogOptions.FULLSCREEN); + } + private async Task CopyStartupLogPath() { await this.RustService.CopyText2Clipboard(this.Snackbar, this.logPaths.LogStartupPath);