mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 07:31:07 +01:00
Fix pending_version not setted after module update
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user