mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Refresh the update status after all catalogs have been loaded
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
parent
69e4a02b28
commit
83c4ac5f65
@ -461,7 +461,6 @@ RED.palette.editor = (function() {
|
|||||||
loadedCatalogs.push({ index: index, url: url, name: v.name, updated_at: v.updated_at, modules_count: (v.modules || []).length })
|
loadedCatalogs.push({ index: index, url: url, name: v.name, updated_at: v.updated_at, modules_count: (v.modules || []).length })
|
||||||
handleCatalogResponse(null,{ url: url, name: v.name},index,v);
|
handleCatalogResponse(null,{ url: url, name: v.name},index,v);
|
||||||
refreshNodeModuleList();
|
refreshNodeModuleList();
|
||||||
refreshUpdateStatus();
|
|
||||||
}).fail(function(jqxhr, textStatus, error) {
|
}).fail(function(jqxhr, textStatus, error) {
|
||||||
console.warn("Error loading catalog",url,":",error);
|
console.warn("Error loading catalog",url,":",error);
|
||||||
handleCatalogResponse(jqxhr,url,index);
|
handleCatalogResponse(jqxhr,url,index);
|
||||||
@ -474,6 +473,8 @@ RED.palette.editor = (function() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// Now all catalogs have been loaded, refresh the update status
|
||||||
|
refreshUpdateStatus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user