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