mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-25 09:14:25 +00:00
fix: update fallback behavior for loading core workflow templates to default to English
This commit is contained in:
@@ -617,7 +617,7 @@ export class ComfyApi extends EventTarget {
|
||||
console.warn(
|
||||
`Localized templates for '${locale}' not found, falling back to English`
|
||||
)
|
||||
return this.getCoreWorkflowTemplates('en')
|
||||
return this.getCoreWorkflowTemplates()
|
||||
}
|
||||
console.error('Error loading core workflow templates:', error)
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user