You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web_src/js/components/ViewFileTree.vue
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,16 @@ import ViewFileTreeItem from './ViewFileTreeItem.vue';
3
3
4
4
defineProps<{
5
5
files:any,
6
-
selectedItem:string,
6
+
selectedItem:any,
7
7
loadChildren:any,
8
+
loadContent:any;
8
9
}>();
9
10
</script>
10
11
11
12
<template>
12
13
<divclass="view-file-tree-items">
13
14
<!-- only render the tree if we're visible. in many cases this is something that doesn't change very often -->
14
-
<ViewFileTreeItemv-for="item in files":key="item.name":item="item":selected-item="selectedItem":load-children="loadChildren"/>
15
+
<ViewFileTreeItemv-for="item in files":key="item.name":item="item":selected-item="selectedItem":load-content="loadContent":load-children="loadChildren"/>
<!--title instead of tooltip above as the tooltip needs too much work with the current methods, i.e. not being loaded or staying open for "too long"-->
<ViewFileTreeItemv-for="childItem in children":key="childItem.name":item="childItem":selected-item="selectedItem":load-children="loadChildren"/>
70
+
<ViewFileTreeItemv-for="childItem in children":key="childItem.name":item="childItem":selected-item="selectedItem":load-content="loadContent":load-children="loadChildren"/>
0 commit comments