We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 447901c commit 9325e5dCopy full SHA for 9325e5d
inst/shiny/C03Sa_challenge/app.R
@@ -109,7 +109,9 @@ ui <- fluidPage(
109
sidebarLayout(
110
sidebarPanel(
111
fileInput("file", "Votre proposition (fichier RDS)", accept = ".rds"),
112
- textOutput("message")
+ textOutput("message"),
113
+ hr(),
114
+ actionButton("refresh", "Actualiser le classement")
115
),
116
mainPanel(
117
h3("Temps restant pour le challenge :"),
@@ -152,6 +154,7 @@ server <- function(input, output) {
152
154
})
153
155
156
output$ranking <- renderTable({
157
+ input$refresh # Trigger this code when the refresh button is clicked
158
file <- input$file
159
if (!is.null(file$datapath) && grepl("^.+__.+\\.rds", file$name) &&
160
!is_done()) {
0 commit comments