From 276e5453f1c5d6e5cb8a8e3b2ccb5e798e765f58 Mon Sep 17 00:00:00 2001 From: Jai A Date: Mon, 28 Feb 2022 10:07:06 -0700 Subject: [PATCH] Fix dep project not showing --- pages/_type/_id/version.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() {