From ee6970b3fa73c610b6edd7932f724802bbeecd5e Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Fri, 27 Sep 2024 09:19:37 -0400 Subject: [PATCH] Cosmetic TS change --- srcts/src/shiny/shinyapp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcts/src/shiny/shinyapp.ts b/srcts/src/shiny/shinyapp.ts index aee22ea7c..6c571eefb 100644 --- a/srcts/src/shiny/shinyapp.ts +++ b/srcts/src/shiny/shinyapp.ts @@ -614,7 +614,7 @@ class ShinyApp { const nsPrefix = el.attr("data-ns-prefix") as string; const nsScope = this._narrowScope(scope, nsPrefix); - const show = !!condFunc(nsScope); + const show = Boolean(condFunc(nsScope)); const showing = el.css("display") !== "none"; if (show !== showing) {