diff --git a/inst/themer-demo/app.R b/inst/themer-demo/app.R index 8e8fdf64e..e535d859c 100644 --- a/inst/themer-demo/app.R +++ b/inst/themer-demo/app.R @@ -65,7 +65,7 @@ progressBar <- div( # This is here for shinycoreci to take advantage of (so we don't need to update a bunch of screenshots) IS_LEGACY <- as.logical(Sys.getenv("BSLIB_LEGACY_THEMER_APP", FALSE)) -if (isTRUE(IS_LEGACY)) { +if (isTRUE(IS_LEGACY) || theme_version(theme) %in% c("3", "4")) { dashboardTab <- NULL } else { dashboardTab <- nav_panel("Dashboard", tipsUI("tips"))