rollback wip code

This commit is contained in:
Dr.Lt.Data 2025-02-23 11:25:30 +09:00
parent 2449ad5c69
commit a68330fb8f

View File

@ -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}`);