diff --git a/pages/_type/_id/version.vue b/pages/_type/_id/version.vue index 09b55b097f..2c36e28884 100644 --- a/pages/_type/_id/version.vue +++ b/pages/_type/_id/version.vue @@ -654,6 +654,12 @@ export default { dependency.project = this.dependencies.projects.find( (x) => x.id === dependency.version.project_id ) + + if (!dependency.project) { + dependency.project = this.dependencies.projects.find( + (x) => x.id === dependency.project_id + ) + } } }, async addDependency() {