feat: return other-components filter
All checks were successful
Build and Deploy Angular App / build (push) Successful in 54s

This commit is contained in:
2024-08-27 22:10:51 +03:00
parent 8c9b798bff
commit ebf1066610
3 changed files with 48 additions and 110 deletions

View File

@ -3,34 +3,29 @@
(selectedTabChange)="chooseTabs($event.index)">
<mat-tab label="Группа">
<div>
<app-group #groupTab (eventResult)="groupSelected($event)"/>
<app-group #groupTab (eventResult)="groupSelected($event)"/>
</div>
</mat-tab>
<mat-tab label="Преподаватель">
<div>
<app-professor #professorTab (eventResult)="professorSelected($event)"/>
<app-professor #professorTab (eventResult)="professorSelected($event)"/>
</div>
</mat-tab>
<mat-tab label="Кабинет">
<div>
<app-lecture-hall #lectureHallTab (eventResult)="lectureHallSelected($event)"/>
<app-lecture-hall #lectureHallTab (eventResult)="lectureHallSelected($event)"/>
</div>
</mat-tab>
<!--
<mat-tab label="Другое">
<mat-tab label="Другое" *appHasRole="AuthRoles.Admin">
<div class="margin-other-button">
<app-other idButton="disciplines-button" textButton="Дисциплины" #discipline [dataLoaded]="disciplinesLoaded"
(retryLoadData)="loadDisciplines()"/>
<app-other idButton="lecture-button" textButton="Кабинеты" #lecture
[dataLoaded]="campusesLoaded && lectureHallsLoaded" (retryLoadData)="loadLectureHalls()"/>
<app-other idButton="group-button" textButton="Группы" #group [dataLoaded]="facultiesLoaded && groupLoaded"
(retryLoadData)="loadGroups()"/>
<app-other idButton="professor-button" textButton="Профессоры" #professor [dataLoaded]="professorsLoaded"
(retryLoadData)="professorsLoad()"/>
<app-other idButton="disciplines-button" textButton="Дисциплины" #discipline (retryLoadData)="loadDisciplines()"/>
<app-other idButton="lecture-button" textButton="Кабинеты" #lecture (retryLoadData)="loadLectureHalls()"/>
<app-other idButton="group-button" textButton="Группы" #group (retryLoadData)="loadGroups()"/>
<app-other idButton="professor-button" textButton="Профессоры" #professor (retryLoadData)="loadProfessors()"/>
<section>
<button mat-flat-button>Отфильтровать</button>
<button mat-flat-button (click)="otherFilter()">Отфильтровать</button>
</section>
</div>
</mat-tab>
-->
</mat-tab-group>