Go straight to the installation page of the pandoc dialog

This commit is contained in:
Thorsten Sommer 2025-05-30 14:15:48 +02:00
parent eb75109464
commit df3c28e55f
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -95,7 +95,15 @@ public partial class About : MSGComponentBase
this.StateHasChanged(); this.StateHasChanged();
} }
private async Task ShowPandocDialog() => await this.DialogService.ShowAsync<PandocDialog>(T("Pandoc Installation"), DialogOptions.FULLSCREEN); private async Task ShowPandocDialog()
{
var dialogParameters = new DialogParameters<PandocDialog>
{
{ x => x.ShowInstallationPage, true },
};
await this.DialogService.ShowAsync<PandocDialog>(T("Pandoc Installation"), dialogParameters, DialogOptions.FULLSCREEN);
}
private async Task CopyStartupLogPath() private async Task CopyStartupLogPath()
{ {