Skip to content

Commit 2dfdaef

Browse files
author
Volker Thiel
committed
Hide alert when initial value is zero
1 parent bf3e31b commit 2dfdaef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/alert.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
this.dismissed = false;
7171
7272
// No timer for boolean values
73-
if (this.show === true || this.show === false || this.show === null) {
73+
if (this.show === true || this.show === false || this.show === null || this.show === 0) {
7474
return;
7575
}
7676

0 commit comments

Comments
 (0)