Skip to content

Commit

Permalink
Cosmetic TS change
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke authored Sep 27, 2024
1 parent feb0bca commit ee6970b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srcts/src/shiny/shinyapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ee6970b

Please sign in to comment.