diff --git a/pages/_type/_id/version.vue b/pages/_type/_id/version.vue index a50d5a7bd7..09b55b097f 100644 --- a/pages/_type/_id/version.vue +++ b/pages/_type/_id/version.vue @@ -648,12 +648,12 @@ export default { } for (const dependency of this.version.dependencies) { - dependency.project = this.dependencies.projects.find( - (x) => x.id === dependency.project_id - ) dependency.version = this.dependencies.versions.find( (x) => x.id === dependency.version_id ) + dependency.project = this.dependencies.projects.find( + (x) => x.id === dependency.version.project_id + ) } }, async addDependency() {