Display node display_name instead of name (#704)

This commit is contained in:
Chenlei Hu
2024-09-01 18:33:19 -04:00
committed by GitHub
parent a4a298924e
commit 75e91137f0
3 changed files with 18 additions and 9 deletions

View File

@@ -117,7 +117,7 @@ const renderedBookmarkedRoot = computed<TreeExplorerNode<ComfyNodeDefImpl>>(
return {
key: node.key,
label: node.label,
label: node.leaf ? node.data.display_name : node.label,
leaf: node.leaf,
data: node.data,
getIcon: (node: TreeExplorerNode<ComfyNodeDefImpl>) => {