From 4b158f6913ee36a08cb6a5dc0d584dda08b2d04b Mon Sep 17 00:00:00 2001 From: cenfun Date: Thu, 6 Jun 2024 11:17:02 +0800 Subject: [PATCH] fix the update button disappears if open dialog again --- js/custom-nodes-manager.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/custom-nodes-manager.js b/js/custom-nodes-manager.js index de797e0a..6f700e10 100644 --- a/js/custom-nodes-manager.js +++ b/js/custom-nodes-manager.js @@ -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); }