Skip to content

Commit

Permalink
Update R/init.R
Browse files Browse the repository at this point in the history
Co-authored-by: Dawid Kałędkowski <[email protected]>
Signed-off-by: Vedha Viyash <[email protected]>
  • Loading branch information
vedhav and gogonzo authored Jan 10, 2025
1 parent 9019c6e commit c51ac21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,7 @@ add_landing_popup <- function(
buttons = modalButton("Accept")) {
old_server <- app$server

app$server <- function(input, output, session) {
old_server(input, output, session)
custom_server <- function(input, output, session() {
showModal(
modalDialog(
id = id,
Expand All @@ -390,6 +389,7 @@ add_landing_popup <- function(
)
)
}
app$server <- add_custom_server(app, custom_server)
app
}

Expand Down

0 comments on commit c51ac21

Please sign in to comment.