Skip to content

Commit

Permalink
Issue #111: Fix broken team-skills query
Browse files Browse the repository at this point in the history
  • Loading branch information
Amar-Bolkan committed Jun 14, 2022
1 parent d611f80 commit d3f3e2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/app/custom/teams/teams.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class TeamsComponent implements OnInit {
}

loadTeamSkills(): void {
this.teamSkillService.query({ 'team.id.equals': this.team.id }).subscribe(teamSkillResponse => {
this.teamSkillService.query({ 'teamId.equals': this.team.id }).subscribe(teamSkillResponse => {
if (teamSkillResponse.body) {
this.team.skills = teamSkillResponse.body;
this.teamSkills = teamSkillResponse.body;
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/app/custom/teams/teams.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class TeamAndTeamSkillResolve implements Resolve<any> {
this.router.navigate(['/error']);
}
const team: ITeam = teamResponse.body ? teamResponse.body[0] : new Team();
return this.teamSkillService.query({ 'team.id.equals': team.id }).pipe(
return this.teamSkillService.query({ 'teamId.equals': team.id }).pipe(
map(teamSkillResponse => {
team.skills = teamSkillResponse.body;
return team;
Expand Down

0 comments on commit d3f3e2f

Please sign in to comment.