Skip to content

Commit

Permalink
fix(bs_theme_preview): Don't include preset categories if no choices …
Browse files Browse the repository at this point in the history
…are available (#674)
  • Loading branch information
gadenbuie authored Jul 14, 2023
1 parent 890f847 commit ef1e120
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/bs-theme-preview.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ opts_metadata <- function(theme) {
"bslib" = builtin_themes(version),
"Bootswatch" = bootswatch_themes(version)
)
opts[[1]]$preset$choices <- themes
opts[[1]]$preset$choices <- dropNulls(themes)
opts
}

Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
173 changes: 173 additions & 0 deletions man/navset.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ef1e120

Please sign in to comment.