diff --git a/backend/src/main/resources/db/migration/V2_1_3__createAlignmentView.sql b/backend/src/main/resources/db/migration/V2_1_3__createAlignmentView.sql index 05170c7392..571dabf379 100644 --- a/backend/src/main/resources/db/migration/V2_1_3__createAlignmentView.sql +++ b/backend/src/main/resources/db/migration/V2_1_3__createAlignmentView.sql @@ -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 @@ -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 diff --git a/frontend/src/app/overview/overview.component.ts b/frontend/src/app/overview/overview.component.ts index c878314e4c..31e7064fa4 100644 --- a/frontend/src/app/overview/overview.component.ts +++ b/frontend/src/app/overview/overview.component.ts @@ -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(() => {