mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
feat: apply new layout overhaul
This commit is contained in:
committed by
Rainer Killinger
parent
f16e5394cc
commit
7bbdba5c0b
@@ -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),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user