TimStats commited on
Commit
ebdd5f7
·
verified ·
1 Parent(s): e6ec9df

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +5 -2
app.R CHANGED
@@ -221,8 +221,11 @@ server <- function(input, output) {
221
  )
222
 
223
  observe({
224
- req(credentials()$user_auth)
225
- shinyjs::show(id = "bar")
 
 
 
226
  })
227
 
228
  output$CountFilter <- render_gt({
 
221
  )
222
 
223
  observe({
224
+ if (credentials()$user_auth) {
225
+ shinyjs::show(id = "bar")
226
+ } else {
227
+ shinyjs::hide(id = "bar")
228
+ }
229
  })
230
 
231
  output$CountFilter <- render_gt({