Skip to content

Commit

Permalink
Fix bug with not connecting pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
lkleisa committed Mar 15, 2024
1 parent 85b00c5 commit 731c82e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ SELECT CONCAT(ot.id, a.aligned_objective_id) AS unique_id,
'objective' as object_type,
'target' as connection_item,
a.aligned_objective_id as ref_id,
a.alignment_type as ref_type
'objective' as ref_type
FROM alignment a
LEFT JOIN objective ot ON ot.id = a.target_objective_id
LEFT JOIN team ott ON ott.id = ot.team_id
Expand All @@ -66,7 +66,7 @@ SELECT CONCAT(krt.id, a.aligned_objective_id) AS unique_id,
'keyResult' as object_type,
'target' as connection_item,
a.aligned_objective_id as ref_id,
a.alignment_type as ref_type
'objective' as ref_type
FROM alignment a
LEFT JOIN key_result krt ON krt.id = a.target_key_result_id
LEFT JOIN objective krto ON krto.id = krt.objective_id
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/overview/overview.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export class OverviewComponent implements OnInit, OnDestroy {
});

combineLatest([
this.refreshDataService.teamFilterReady.asObservable(),
this.refreshDataService.quarterFilterReady.asObservable(),
refreshDataService.teamFilterReady.asObservable(),
refreshDataService.quarterFilterReady.asObservable(),
])
.pipe(take(1))
.subscribe(() => {
Expand Down

0 comments on commit 731c82e

Please sign in to comment.