Skip to content

Commit 9c38875

Browse files
authored
Merge pull request bootstrap-vue#117 from riker09/hotfix/alert-dismiss-countdown
Hide alert when initial value is zero
2 parents 7e126fa + 2dfdaef commit 9c38875

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)