Spaces:
Sleeping
Sleeping
Update app.R
Browse files
app.R
CHANGED
|
@@ -538,7 +538,7 @@ server <- function(input, output, session) {
|
|
| 538 |
})
|
| 539 |
})
|
| 540 |
|
| 541 |
-
|
| 542 |
if (input$position == "Pitcher") {
|
| 543 |
session$sendCustomMessage("update_label", "Min Pitches")
|
| 544 |
shinyjs::hide("hitter_filters")
|
|
|
|
| 538 |
})
|
| 539 |
})
|
| 540 |
|
| 541 |
+
observeEvent(input$position, {
|
| 542 |
if (input$position == "Pitcher") {
|
| 543 |
session$sendCustomMessage("update_label", "Min Pitches")
|
| 544 |
shinyjs::hide("hitter_filters")
|