Skip to content

Commit

Permalink
Made conditionalPanel() aware of the module namespaces: rstudio/shiny…
Browse files Browse the repository at this point in the history
  • Loading branch information
tripartio committed Mar 6, 2024
1 parent 30c3a60 commit baa2e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/browser.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ aleBrowserUI <- function(id) {
mainPanel(
uiOutput(ns('plot_placeholder')),
conditionalPanel(
ns = ns,
'input.plot_pick_x_cols.length == 1',
hr(),
h3('Confidence regions'),
Expand All @@ -134,6 +135,7 @@ aleBrowserUI <- function(id) {
plotly::plotlyOutput(ns('plotly_plot')),
),
conditionalPanel(
ns = ns,
'input.plot_pick_x_cols.length > 1',
hr(),
em(paste0(
Expand Down

0 comments on commit baa2e69

Please sign in to comment.