Skip to content

Commit

Permalink
fixed reset all bug and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
egauzens committed Feb 18, 2024
1 parent abd6cdc commit 8adb746
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nih-sparc/sparc-design-system-components",
"version": "0.27.4",
"version": "0.27.5",
"private": false,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down Expand Up @@ -97,4 +97,4 @@
"type": "git",
"url": "git@github.com:nih-sparc/sparc-design-system-components.git"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,10 @@ export default {
})
},
uncheckAll: function() {
if (this.visibleData === undefined)
{
this.$refs.tree.setCheckedKeys([])
},
uncheckAllVisible: function () {
if (this.visibleData === undefined) {
this.$refs.tree.setCheckedKeys([])
return
}
Expand Down Expand Up @@ -317,7 +319,7 @@ export default {
if ((!checkedLeafNodes.length || checkedLeafNodes.length >= this.totalVisibleLeafNodes) && !this.hasSingleNode) {
this.showAll = true
this.$nextTick(() => {
this.uncheckAll()
this.uncheckAllVisible()
this.updateParentFacetsSelectedStatus()
})
} else {
Expand Down

0 comments on commit 8adb746

Please sign in to comment.