From c2571b3bfab4bcc02cb0538c865ab69001dc8686 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 4 Oct 2023 23:13:54 +1100 Subject: [PATCH] Issue-95: Fix Personal Progress OAS report name --- Topo/Controller/ProgressDetailsController.cs | 4 ++-- Topo/Shared/NavMenu.razor | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Topo/Controller/ProgressDetailsController.cs b/Topo/Controller/ProgressDetailsController.cs index 0b00437..c0ae6e7 100644 --- a/Topo/Controller/ProgressDetailsController.cs +++ b/Topo/Controller/ProgressDetailsController.cs @@ -79,7 +79,7 @@ private async Task ProgressReport(OutputType outputType = OutputType.PDF internal async Task StartedOasPdfClick() { byte[] report = await StartedOASWorksheet(OutputType.PDF); - var fileName = $"Personal_Progress_OAS_{model.Member.first_name}_{model.Member.last_name}.pdf"; + var fileName = $"Personal_Progress_{model.Member.first_name}_{model.Member.last_name}_OAS.pdf"; // Send the data to JS to actually download the file await JS.InvokeVoidAsync("BlazorDownloadFile", fileName, "application/pdf", report); @@ -88,7 +88,7 @@ internal async Task StartedOasPdfClick() internal async Task StartedCoreOasPdfClick() { byte[] report = await StartedCoreOASWorksheet(OutputType.PDF); - var fileName = $"Personal_Progress_OAS_{model.Member.first_name}_{model.Member.last_name}.pdf"; + var fileName = $"Personal_Progress_{model.Member.first_name}_{model.Member.last_name}_OAS.pdf"; // Send the data to JS to actually download the file await JS.InvokeVoidAsync("BlazorDownloadFile", fileName, "application/pdf", report); diff --git a/Topo/Shared/NavMenu.razor b/Topo/Shared/NavMenu.razor index 903e772..c974a3a 100644 --- a/Topo/Shared/NavMenu.razor +++ b/Topo/Shared/NavMenu.razor @@ -88,7 +88,7 @@ }