diff --git a/frontend/src/app/components/quarter-filter/quarter-filter.component.spec.ts b/frontend/src/app/components/quarter-filter/quarter-filter.component.spec.ts index e2507f74ce..d7be22c8df 100644 --- a/frontend/src/app/components/quarter-filter/quarter-filter.component.spec.ts +++ b/frontend/src/app/components/quarter-filter/quarter-filter.component.spec.ts @@ -74,7 +74,7 @@ describe('QuarterFilterComponent', () => { fixture.detectChanges(); expect(component.quarterId).toBe(quarters[2].id); expect(await quarterSelect.getValueText()).toBe(quarters[2].label + ' Aktuell'); - expect(component.changeDisplayedQuarter).toHaveBeenCalledTimes(0); + expect(component.changeDisplayedQuarter).toHaveBeenCalledTimes(1); }); it('should set correct value in form according to route param', async () => { diff --git a/frontend/src/app/components/quarter-filter/quarter-filter.component.ts b/frontend/src/app/components/quarter-filter/quarter-filter.component.ts index 1374bbc135..33eac08168 100644 --- a/frontend/src/app/components/quarter-filter/quarter-filter.component.ts +++ b/frontend/src/app/components/quarter-filter/quarter-filter.component.ts @@ -33,9 +33,8 @@ export class QuarterFilterComponent implements OnInit { this.changeDisplayedQuarter(); } else { this.quarterId = quarters[2].id; - if (quarterQuery !== undefined) { - this.changeDisplayedQuarter(); - } else { + this.changeDisplayedQuarter(); + if (quarterQuery === undefined) { this.refreshDataService.quarterFilterReady.next(); } } diff --git a/frontend/src/app/components/team/team.component.ts b/frontend/src/app/components/team/team.component.ts index cb08e03ed7..1da19b7e97 100644 --- a/frontend/src/app/components/team/team.component.ts +++ b/frontend/src/app/components/team/team.component.ts @@ -36,6 +36,7 @@ export class TeamComponent implements OnInit { width: '100vw', } : { + minHeight: '28em', width: '45em', height: 'auto', }; @@ -46,6 +47,7 @@ export class TeamComponent implements OnInit { teamId: this.overviewEntity.team.id, }, }, + minHeight: dialogConfig.minHeight, height: dialogConfig.height, width: dialogConfig.width, maxHeight: dialogConfig.maxHeight,