mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-20 06:44:32 +00:00
fix(cloud): disable legacy node templates feature on cloud
The legacy node templates feature (accessed via canvas right-click menu) causes false-positive errors on cloud. This change conditionally loads the extension only for non-cloud builds. Refs: COM-14105 Amp-Thread-ID: https://ampcode.com/threads/T-019c0c5f-e384-7733-9081-9460dc8debf5 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -13,7 +13,9 @@ import './imageCompare'
|
||||
import './imageCrop'
|
||||
import './load3d'
|
||||
import './maskeditor'
|
||||
import './nodeTemplates'
|
||||
if (!isCloud) {
|
||||
await import('./nodeTemplates')
|
||||
}
|
||||
import './noteNode'
|
||||
import './previewAny'
|
||||
import './rerouteNode'
|
||||
|
||||
Reference in New Issue
Block a user