mirror of https://github.com/node-red/node-red.git
Fix update status after module updated
parent
245761ea03
commit
d048d2cf41
|
@ -1501,6 +1501,10 @@ RED.palette.editor = (function() {
|
|||
for (const module of Object.keys(nodeEntries)) {
|
||||
if (loadedIndex.hasOwnProperty(module)) {
|
||||
const moduleInfo = nodeEntries[module].info;
|
||||
if (moduleInfo.pending_version) {
|
||||
// Module updated
|
||||
continue;
|
||||
}
|
||||
if (updateAllowed &&
|
||||
semVerCompare(loadedIndex[module].version, moduleInfo.version) > 0 &&
|
||||
RED.utils.checkModuleAllowed(module, null, updateAllowList, updateDenyList)
|
||||
|
|
Loading…
Reference in New Issue