File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -65,15 +65,16 @@ progressBar <- div(
65
65
66
66
# This is here for shinycoreci to take advantage of (so we don't need to update a bunch of screenshots)
67
67
IS_LEGACY <- as.logical(Sys.getenv(" BSLIB_LEGACY_THEMER_APP" , FALSE ))
68
- if (isTRUE(IS_LEGACY || theme_version(theme ) %in% c(" 3" , " 4" ))) {
68
+ is_legacy_version <- theme_version(theme ) %in% c(" 3" , " 4" )
69
+ if (isTRUE(IS_LEGACY || is_legacy_version )) {
69
70
dashboardTab <- NULL
70
- layout_buttons <- tags $ div
71
71
} else {
72
72
dashboardTab <- nav_panel(" Dashboard" , tipsUI(" tips" ))
73
- layout_buttons <- layout_columns
74
73
theme_set(theme_minimal())
75
74
}
76
75
76
+ layout_buttons <- if (is_legacy_version ) tags $ div else layout_columns
77
+
77
78
bs_table <- function (x , class = NULL , ... ) {
78
79
class <- paste(c(" table" , class ), collapse = " " )
79
80
class <- sprintf(' class="%s"' , class )
You can’t perform that action at this time.
0 commit comments