Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Fix dep project not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Feb 28, 2022
1 parent 0f81986 commit 276e545
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/_type/_id/version.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 276e545

Please sign in to comment.