mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 23:50:08 +00:00
Use settingStore to access setting (#572)
This commit is contained in:
@@ -2158,13 +2158,9 @@ export class ComfyApp {
|
||||
|
||||
showMissingNodesError(missingNodeTypes, hasAddedNodes = true) {
|
||||
if (
|
||||
!this.ui.settings.getSettingValue(
|
||||
'Comfy.Workflow.ShowMissingNodesWarning'
|
||||
)
|
||||
)
|
||||
return
|
||||
|
||||
if (this.vueAppReady) {
|
||||
this.vueAppReady &&
|
||||
useSettingStore().get('Comfy.Workflow.ShowMissingNodesWarning')
|
||||
) {
|
||||
showLoadWorkflowWarning({
|
||||
missingNodeTypes,
|
||||
hasAddedNodes,
|
||||
|
||||
Reference in New Issue
Block a user