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

Commit

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

0 comments on commit 36a8f04

Please sign in to comment.