mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-02-15 15:42:33 +08:00
Compare commits
2 Commits
1916a6be3f
...
3f8c7c08b7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f8c7c08b7 | ||
|
|
5835c4f5fc |
@ -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