Skip to content

Commit

Permalink
Disable busy indication in static previews (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Jun 6, 2024
1 parent 01add84 commit 4b1b434
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/make-static-previews.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def enrich_app_ui(app_ui: Tag):
being intialized as part of the Shiny binding process.
"""
app_ui.append(shiny.html_dependencies.shiny_deps())
# Don't ever show busy indication since these are static previews
app_ui.append(shiny.ui.busy_indicators.use(spinners=False, pulse=False))
app_ui.append(
head_content(
tags.script(
Expand Down

0 comments on commit 4b1b434

Please sign in to comment.