Skip to content

Commit

Permalink
i hate this
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 17, 2024
1 parent f3a4e61 commit 9b3f8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sidebar/tabs/ModelLibrarySidebarTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const renderedRoot = computed<TreeExplorerNode<ComfyModelDef>>(() => {
getIcon: (node: TreeExplorerNode<ComfyModelDef>) => {
if (node.leaf) {
if (node.data && node.data.image) {
return ''
return ' ' // hacky - empty value, but a space to be truthy
}
return 'pi pi-file'
}
Expand Down

0 comments on commit 9b3f8ab

Please sign in to comment.