refactor: clean code
This commit is contained in:
@ -73,6 +73,7 @@ export class GroupComponent implements IScheduleTab {
|
||||
}))
|
||||
.subscribe(data => {
|
||||
this.faculties = data;
|
||||
|
||||
if (this.selected !== null && this.selected.length >= 1) {
|
||||
let selectedFaculty = data.find(x => x.id === this.selected![0].index);
|
||||
|
||||
|
Reference in New Issue
Block a user