mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-01-31 16:30:18 +08:00
fix the update button disappears if open dialog again
This commit is contained in:
parent
c6257e06e1
commit
4b158f6913
@ -1261,6 +1261,9 @@ export class CustomNodesManager {
|
|||||||
const hashData = hashMap[nodeItem.hash]
|
const hashData = hashMap[nodeItem.hash]
|
||||||
if (hashData) {
|
if (hashData) {
|
||||||
filterTypes.add(value);
|
filterTypes.add(value);
|
||||||
|
if (value === ShowMode.UPDATE) {
|
||||||
|
nodeItem.installed = "Update";
|
||||||
|
}
|
||||||
if (typeof hashData === "object") {
|
if (typeof hashData === "object") {
|
||||||
Object.assign(nodeItem, hashData);
|
Object.assign(nodeItem, hashData);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user