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