Add year and month
This commit is contained in:
parent
6239cc5d0a
commit
87c92d1306
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ namespace ShiftScheduler.Client.Pages
|
|||
var response = await HttpClient.PostAsJsonAsync("api/shift/export_pdf", shiftsWithTransportList);
|
||||
var bytes = await response.Content.ReadAsByteArrayAsync();
|
||||
var base64 = Convert.ToBase64String(bytes);
|
||||
await JSRuntime.InvokeVoidAsync("downloadFile", "schedule.pdf", "application/pdf", base64);
|
||||
await JSRuntime.InvokeVoidAsync("downloadFile", $"Schedule {EditYear}-{EditMonth:00}.pdf", "application/pdf", base64);
|
||||
}
|
||||
|
||||
private async Task SaveScheduleToStorage()
|
||||
|
|
|
|||
Loading…
Reference in a new issue