Skip to content

Commit

Permalink
- fix issue in bs4DashSidebar (wrong href attr)
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed Apr 29, 2020
1 parent c4a8a9f commit 7d5569d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ To keep it open, see below
- change `bs4TabPanel()` param order to align with shiny

## Bug Fix
- Fix issue in `bs4DashSidebar()` url link. Thanks @pvictor
- Fix #30: programmatically close `bs4Alert()`
- Fix #47: Control bar not showing top elements when collapsed is FALSE
- Fix #99: rework the way sidebar items work. By default, when sidebar items has subitems and is selected, the first item is not selected. We leave the choice to the user. Thanks @analytichealth
Expand Down
2 changes: 1 addition & 1 deletion R/dashboardSidebar.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ bs4DashSidebar <- function(..., inputId = NULL, disable = FALSE,
brandTag <- if (!is.null(title)) {
shiny::tags$a(
class = if (!is.null(brandColor)) paste0("brand-link bg-", brandColor) else "brand-link",
href = url,
href = if (!is.null(url)) url else "#",
shiny::tags$img(
src = src,
class = "brand-image img-circle elevation-3",
Expand Down
1 change: 1 addition & 0 deletions docs/news/index.html

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

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ articles:
bs4Themes: bs4Themes.html
bs4cards: bs4cards.html
bs4sortable: bs4sortable.html
last_built: 2020-04-29T21:47Z
last_built: 2020-04-29T21:52Z

0 comments on commit 7d5569d

Please sign in to comment.