diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/Mixins/BVTableSelectableMixin.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Mixins/BVTableSelectableMixin.js b/src/components/Mixins/BVTableSelectableMixin.js index d41ed22c..b4f0b953 100644 --- a/src/components/Mixins/BVTableSelectableMixin.js +++ b/src/components/Mixins/BVTableSelectableMixin.js @@ -25,14 +25,14 @@ const BVTableSelectableMixin = { this.tableHeaderCheckboxModel = true; } else { this.tableHeaderCheckboxIndeterminate = true; - this.tableHeaderCheckboxModel = false; + this.tableHeaderCheckboxModel = true; } } }, onChangeHeaderCheckbox(tableRef) { if (tableRef) { - if (this.tableHeaderCheckboxModel) tableRef.clearSelected(); - else tableRef.selectAllRows(); + if (this.tableHeaderCheckboxModel) tableRef.selectAllRows(); + else tableRef.clearSelected(); } }, }, |