Skip to content

Commit 74d4759

Browse files
authored
fix(b-table, b-table-lite): render thead/tfoot when using breakpoint stacked mode (closes bootstrap-vue#3886)
1 parent 3f009fd commit 74d4759

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/table/helpers/mixin-stacked.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ export default {
99
},
1010
computed: {
1111
isStacked() {
12-
// `true` when always stacked, or breakpoint specified
13-
return this.stacked === '' ? true : Boolean(this.stacked)
12+
// `true` when always stacked, or returns the breakpoint specified
13+
return this.stacked === '' ? true : this.stacked
1414
},
1515
isStackedAlways() {
16-
return this.stacked === true || this.stacked === ''
16+
return this.isStacked === true
1717
},
1818
stackedTableClasses() {
1919
return {

0 commit comments

Comments
 (0)