Fix pending_version not setted after module update

This commit is contained in:
GogoVega
2025-06-11 16:51:11 +02:00
parent 6717cce644
commit e5f2e8783a

View File

@@ -769,6 +769,11 @@ RED.palette.editor = (function() {
});
RED.events.on('registry:module-updated', function(ns) {
if (nodeEntries[ns.module]) {
// Set the node/plugin as updated
nodeEntries[ns.module].info.pending_version = ns.version;
}
refreshNodeModule(ns.module);
refreshUpdateStatus();
});