mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-11 08:00:21 +00:00
Add setting to disable missing nodes dialog (#571)
* Add setting to disable missing nodes dialog * nit * nit
This commit is contained in:
@@ -2157,12 +2157,20 @@ export class ComfyApp {
|
||||
}
|
||||
|
||||
showMissingNodesError(missingNodeTypes, hasAddedNodes = true) {
|
||||
if (this.vueAppReady)
|
||||
if (
|
||||
!this.ui.settings.getSettingValue(
|
||||
'Comfy.Workflow.ShowMissingNodesWarning'
|
||||
)
|
||||
)
|
||||
return
|
||||
|
||||
if (this.vueAppReady) {
|
||||
showLoadWorkflowWarning({
|
||||
missingNodeTypes,
|
||||
hasAddedNodes,
|
||||
maximizable: true
|
||||
})
|
||||
}
|
||||
|
||||
this.logging.addEntry('Comfy.App', 'warn', {
|
||||
MissingNodes: missingNodeTypes
|
||||
|
||||
Reference in New Issue
Block a user