fixed: /customnode/versions - Issue where a 400 error occurred when no versions were available in CNR.

https://github.com/ltdrdata/ComfyUI-Manager/issues/1397
This commit is contained in:
Dr.Lt.Data
2025-01-05 09:17:54 +09:00
parent 4e92b06baa
commit 29ab428979
4 changed files with 4 additions and 4 deletions

View File

@@ -1190,7 +1190,7 @@ export class CustomNodesManager {
version_cnt++;
}
if(rowItem.cnr_latest != rowItem.originalData.active_version) {
if(rowItem.cnr_latest != rowItem.originalData.active_version && obj.length > 0) {
versions.push('latest');
}
}