mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-10 23:50:00 +00:00
[backport core/1.37] feat: make subgraphs blueprints appear higher in node library sidebar (#8141)
Backport of #8140 to `core/1.37` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8141-backport-core-1-37-feat-make-subgraphs-blueprints-appear-higher-in-node-library-sideba-2ec6d73d365081afaa3fd9566b0d84cb) by [Unito](https://www.unito.io) Co-authored-by: Christian Byrne <cbyrne@comfy.org>
This commit is contained in:
@@ -299,9 +299,10 @@ export const useNodeDefStore = defineStore('nodeDef', () => {
|
||||
|
||||
const nodeDefs = computed(() => {
|
||||
const subgraphStore = useSubgraphStore()
|
||||
// Blueprints first for discoverability in the node library sidebar
|
||||
return [
|
||||
...Object.values(nodeDefsByName.value),
|
||||
...subgraphStore.subgraphBlueprints
|
||||
...subgraphStore.subgraphBlueprints,
|
||||
...Object.values(nodeDefsByName.value)
|
||||
]
|
||||
})
|
||||
const nodeDataTypes = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user