feat: apply new layout overhaul

This commit is contained in:
Andy Bastian
2022-08-08 11:01:00 +00:00
committed by Rainer Killinger
parent f16e5394cc
commit 7bbdba5c0b
228 changed files with 28387 additions and 1092 deletions

View File

@@ -129,13 +129,18 @@ export class CatalogComponent implements OnInit, OnDestroy {
);
if (this.activeSemester && this.selectedSemesterUID === '') {
this.selectedSemesterUID = this.activeSemester.uid;
this.updateLocation(this.selectedSemesterUID);
}
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
segmentChanged(event: any) {
this.updateLocation(event.detail.value as string);
if (
this.activeSemester &&
this.activeSemester.uid !== (event.detail.value as string)
) {
this.updateLocation(event.detail.value as string);
}
this.activeSemester = this.availableSemesters.find(
semester => semester.uid === (event.detail.value as string),
);