Skip to content

Commit

Permalink
Bug fix 26 (#27)
Browse files Browse the repository at this point in the history
* Bug fix for #26.

* Update version.
  • Loading branch information
lzhoucs authored Nov 2, 2018
1 parent 75895d7 commit 0306a1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lzhoucs/vuetify",
"version": "1.2.8-modified.5",
"version": "1.2.8-modified.6",
"author": {
"name": "John Leider",
"email": "[email protected]"
Expand Down
3 changes: 3 additions & 0 deletions src/components/VDataTable/mixins/body.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ export default {
return this.$createElement('tbody', children)
},
collapseAll () {
this._groupExpanded = this.groupExpanded
this.groupExpanded = false
this.activeGroup = {}
},
expandAll () {
this.groupExpanded = this._groupExpanded
for (const group in this.activeGroup) {
this.activeGroup[group] = true
}
Expand Down

0 comments on commit 0306a1e

Please sign in to comment.