Skip to content

Commit 8597b98

Browse files
fix: Toogle Visibility check
1 parent 0511903 commit 8597b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/utils/block.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ class Block implements BlockOptions {
644644
this.innerHTML = innerHTML;
645645
}
646646
toggleVisibility(show: boolean | null = null) {
647-
if (this.getStyle("display") === "none" || show === false) {
647+
if (this.getStyle("display") === "none" || show === true) {
648648
this.setStyle("display", this.getStyle("__last_display") || "flex");
649649
this.setStyle("__last_display", null);
650650
} else {

0 commit comments

Comments
 (0)