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 50c4949 commit f423ec6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sparc-design-system-components-2",
"version": "0.0.23",
"version": "0.0.24",
"private": false,
"scripts": {
"dev": "vite",
Expand Down Expand Up @@ -51,4 +51,4 @@
"type": "git",
"url": "[email protected]:nih-sparc/sparc-design-system-components-2.git"
}
}
}
5 changes: 4 additions & 1 deletion src/components/DropdownMultiselect/DropdownMultiselect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ export default {
})
},
uncheckAll: function() {
this.$refs.tree.setCheckedKeys([])
},
uncheckAllVisible: function () {
if (this.visibleData === undefined)
{
this.$refs.tree.setCheckedKeys([])
Expand Down Expand Up @@ -319,7 +322,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 f423ec6

Please sign in to comment.