Skip to content

Commit

Permalink
fix(game init report): correct date in downloaded report file name
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendiot42 committed Jul 9, 2024
1 parent 3f0cf2e commit ea09543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server_admin.R
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ output$admin_T1T2GameProgress <- renderPlotly({


output$download_game_init_report <- downloadHandler(
filename = paste0("plantBreedGame_initialisation_report_", strftime(Sys.time(),format = "%Y-%M-%d"), ".html"), # lambda function
filename = paste0("plantBreedGame_initialisation_report_", strftime(Sys.time(),format = "%Y-%m-%d"), ".html"), # lambda function
content = function(file) file.copy(GAME_INIT_REPORT, file),
contentType = "text/html"
)
Expand Down

0 comments on commit ea09543

Please sign in to comment.