Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Thomas G. Lopes
commited on
Commit
·
250157d
1
Parent(s):
b44b325
slight improvement
Browse files
src/lib/components/inference-playground/branch-tree-modal.svelte
CHANGED
|
@@ -84,7 +84,6 @@
|
|
| 84 |
() => treeItems,
|
| 85 |
() => {
|
| 86 |
if (treeItems.length === 0 || initExpanded) return;
|
| 87 |
-
console.log("init expanded");
|
| 88 |
tree.expandAll();
|
| 89 |
initExpanded = true;
|
| 90 |
},
|
|
@@ -95,7 +94,7 @@
|
|
| 95 |
offset: { crossAxis: -12 },
|
| 96 |
},
|
| 97 |
focus: {
|
| 98 |
-
onOpen: () => `#${contentId} [data-melt-tree-item]
|
| 99 |
},
|
| 100 |
});
|
| 101 |
const contentId: string = $derived(popover.ids.content);
|
|
|
|
| 84 |
() => treeItems,
|
| 85 |
() => {
|
| 86 |
if (treeItems.length === 0 || initExpanded) return;
|
|
|
|
| 87 |
tree.expandAll();
|
| 88 |
initExpanded = true;
|
| 89 |
},
|
|
|
|
| 94 |
offset: { crossAxis: -12 },
|
| 95 |
},
|
| 96 |
focus: {
|
| 97 |
+
onOpen: () => `#${contentId} [data-melt-tree-item]`,
|
| 98 |
},
|
| 99 |
});
|
| 100 |
const contentId: string = $derived(popover.ids.content);
|