Fix update status after module updated

pull/4935/head
GogoVega 2024-10-30 22:36:14 +01:00
parent 245761ea03
commit d048d2cf41
No known key found for this signature in database
GPG Key ID: E1E048B63AC5AC2B
1 changed files with 4 additions and 0 deletions

View File

@ -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)