MCPcopy Index your code
hub / github.com/pythongosssss/ComfyUI-Custom-Scripts / load

Method load

web/js/workflows.js:82–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80
81class PysssssWorkflows {
82 async load() {
83 this.workflows = await getWorkflows();
84 if(this.workflows.length) {
85 this.workflows.sort();
86 }
87 this.loadMenu.style.display = this.workflows.length ? "flex" : "none";
88 }
89
90 getMenuOptions(callback) {
91 const menu = [];

Callers 2

constructorMethod · 0.95
refreshComboInNodesFunction · 0.80

Calls 1

getWorkflowsFunction · 0.85

Tested by

no test coverage detected