Skip to content

Commit 290451c

Browse files
resolved suggestion
1 parent 07e7ae8 commit 290451c

File tree

1 file changed

+1
-1
lines changed
  • apps/demos/Demos/DropDownBox/SingleSelection/Vue

1 file changed

+1
-1
lines changed

apps/demos/Demos/DropDownBox/SingleSelection/Vue/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function makeAsyncDataSource(jsonFile: string) {
115115
}
116116
117117
function syncTreeViewSelection() {
118-
if (!treeViewRef.value || !treeViewRef.value.instance) return;
118+
if (!treeViewRef?.value?.instance) return;
119119
120120
if (treeBoxValue.value) {
121121
treeViewRef.value.instance.selectItem(treeBoxValue.value);

0 commit comments

Comments
 (0)