Skip to content

Conversation

@gadenbuie
Copy link
Member

Currently, if you use bs_theme_preview() with BS version < 5, the app fails to load due to layout_column_wrap() requiring Bootstrap 5 (that's just the first BS5 requirement).

bs_theme(4) |> bs_theme_preview()

image

This PR adds a version check and only includes the dashboard page if the theme is BS5+.

@gadenbuie gadenbuie requested a review from cpsievert July 12, 2023 14:16
@gadenbuie gadenbuie self-assigned this Jul 12, 2023
@gadenbuie gadenbuie mentioned this pull request Jul 12, 2023
@gadenbuie gadenbuie merged commit c5b409d into main Jul 12, 2023
@gadenbuie gadenbuie deleted the preview/dashboard-legacy branch July 12, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants