fix the update button disappears if open dialog again

This commit is contained in:
cenfun 2024-06-06 11:17:02 +08:00
parent c6257e06e1
commit 4b158f6913

View File

@ -1261,6 +1261,9 @@ export class CustomNodesManager {
const hashData = hashMap[nodeItem.hash]
if (hashData) {
filterTypes.add(value);
if (value === ShowMode.UPDATE) {
nodeItem.installed = "Update";
}
if (typeof hashData === "object") {
Object.assign(nodeItem, hashData);
}