mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 10:59:53 +00:00
ModelToNodeStore minor fix (#1147)
This commit is contained in:
committed by
GitHub
parent
dee1ec1a2a
commit
d68a1116dc
@@ -41,7 +41,7 @@ export const useModelToNodeStore = defineStore('modelToNode', {
|
||||
*/
|
||||
getAllNodeProviders(modelType: string): ModelNodeProvider[] {
|
||||
this.registerDefaults()
|
||||
return this.modelToNodeMap[modelType]
|
||||
return this.modelToNodeMap[modelType] ?? []
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user