Fix ComfyUI class setup procedure (#846)

This commit is contained in:
Chenlei Hu
2024-09-16 17:14:11 +09:00
committed by GitHub
parent 091b8a74fb
commit 45a866f194
3 changed files with 8 additions and 3 deletions

View File

@@ -373,7 +373,7 @@ export class ComfyUI {
})
// For testing. Legacy ui tests don't have vue app initialized.
if (!app.vueAppReady) {
if (window['IS_TEST']) {
this.setup(document.body)
}
}