mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-07-26 20:37:10 +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…
x
Reference in New Issue
Block a user