mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-08 21:54:26 +08:00
rollback wip code
This commit is contained in:
parent
2449ad5c69
commit
a68330fb8f
@ -1530,23 +1530,6 @@ export class CustomNodesManager {
|
||||
}
|
||||
|
||||
async getMissingNodes() {
|
||||
|
||||
try {
|
||||
let node_versions = app.extensionManager.workflow.activeWorkflow.initialState.extra.node_versions;
|
||||
if(node_versions == undefined) {
|
||||
return getMissingNodesLegacy();
|
||||
}
|
||||
else {
|
||||
|
||||
}
|
||||
}
|
||||
catch {
|
||||
customAlert('The legacy method of the missing node feature is used because it is either a legacy workflow or a legacy frontend.');
|
||||
return getMissingNodesLegacy();
|
||||
}
|
||||
}
|
||||
|
||||
getMissingNodesLegacy() {
|
||||
const mode = manager_instance.datasrc_combo.value;
|
||||
this.showStatus(`Loading missing nodes (${mode}) ...`);
|
||||
const res = await fetchData(`/customnode/getmappings?mode=${mode}`);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user