File tree 2 files changed +7
-5
lines changed
src/components/DropdownMultiselect/src
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @nih-sparc/sparc-design-system-components" ,
3
- "version" : " 0.27.4 " ,
3
+ "version" : " 0.27.5 " ,
4
4
"private" : false ,
5
5
"scripts" : {
6
6
"serve" : " vue-cli-service serve" ,
97
97
"type" : " git" ,
98
98
"url" :
" [email protected] :nih-sparc/sparc-design-system-components.git"
99
99
}
100
- }
100
+ }
Original file line number Diff line number Diff line change @@ -226,8 +226,10 @@ export default {
226
226
})
227
227
},
228
228
uncheckAll : function () {
229
- if (this .visibleData === undefined )
230
- {
229
+ this .$refs .tree .setCheckedKeys ([])
230
+ },
231
+ uncheckAllVisible : function () {
232
+ if (this .visibleData === undefined ) {
231
233
this .$refs .tree .setCheckedKeys ([])
232
234
return
233
235
}
@@ -317,7 +319,7 @@ export default {
317
319
if ((! checkedLeafNodes .length || checkedLeafNodes .length >= this .totalVisibleLeafNodes ) && ! this .hasSingleNode ) {
318
320
this .showAll = true
319
321
this .$nextTick (() => {
320
- this .uncheckAll ()
322
+ this .uncheckAllVisible ()
321
323
this .updateParentFacetsSelectedStatus ()
322
324
})
323
325
} else {
You can’t perform that action at this time.
0 commit comments