mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-01-31 16:30:18 +08:00
Merge 5835c4f5fc into 8138954fc6
This commit is contained in:
commit
3f8c7c08b7
@ -1314,13 +1314,22 @@ export class CustomNodesManager {
|
|||||||
}
|
}
|
||||||
cList.forEach(key => {
|
cList.forEach(key => {
|
||||||
const nodeItem = node_packs[key];
|
const nodeItem = node_packs[key];
|
||||||
|
if(!nodeItem || !nodeItem.nodesMap) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const extItem = nodeItem.nodesMap[extName];
|
const extItem = nodeItem.nodesMap[extName];
|
||||||
|
if(!extItem) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if(!extItem.conflicts) {
|
if(!extItem.conflicts) {
|
||||||
extItem.conflicts = []
|
extItem.conflicts = []
|
||||||
}
|
}
|
||||||
const conflictsList = cList.filter(k => k !== key);
|
const conflictsList = cList.filter(k => k !== key);
|
||||||
conflictsList.forEach(k => {
|
conflictsList.forEach(k => {
|
||||||
const nItem = node_packs[k];
|
const nItem = node_packs[k];
|
||||||
|
if(!nItem) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
extItem.conflicts.push({
|
extItem.conflicts.push({
|
||||||
key: k,
|
key: k,
|
||||||
title: nItem.title,
|
title: nItem.title,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user