Skip to content

Commit 041f21e

Browse files
committed
format fix
1 parent 397cf8d commit 041f21e

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

inst/geopressureviz/server.R

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,12 +449,20 @@ server <- function(input, output, session) {
449449

450450
shiny::observeEvent(input$previous_position, {
451451
idx_new <- min(max(idx() - 1, 1), length(stap_id_include()))
452-
shiny::updateSelectizeInput(session, "stap_id", selected = as.character(stap_id_include()[idx_new]))
452+
shiny::updateSelectizeInput(
453+
session,
454+
"stap_id",
455+
selected = as.character(stap_id_include()[idx_new])
456+
)
453457
})
454458

455459
shiny::observeEvent(input$next_position, {
456460
idx_new <- min(max(idx() + 1, 1), length(stap_id_include()))
457-
shiny::updateSelectizeInput(session, "stap_id", selected = as.character(stap_id_include()[idx_new]))
461+
shiny::updateSelectizeInput(
462+
session,
463+
"stap_id",
464+
selected = as.character(stap_id_include()[idx_new])
465+
)
458466
})
459467

460468
shiny::observeEvent(input$edit_position, {

0 commit comments

Comments
 (0)