fix: add ref to IScheduleTab

This commit is contained in:
Polianin Nikita 2024-08-23 23:21:53 +03:00
parent 3cea5f7982
commit 48bc7ca005

View File

@ -1,18 +1,19 @@
<mat-tab-group dynamicHeight mat-stretch-tabs="false" mat-align-tabs="start" color="accent" class="padding-content" <mat-tab-group dynamicHeight mat-stretch-tabs="false" mat-align-tabs="start" color="accent" class="padding-content"
(selectedTabChange)="chooseTabs($event)"> #tabGroup
(selectedTabChange)="chooseTabs($event.index)">
<mat-tab label="Группа"> <mat-tab label="Группа">
<div> <div>
<app-group (eventResult)="groupSelected($event)"/> <app-group #groupTab (eventResult)="groupSelected($event)"/>
</div> </div>
</mat-tab> </mat-tab>
<mat-tab label="Преподаватель"> <mat-tab label="Преподаватель">
<div> <div>
<app-professor (eventResult)="professorSelected($event)"/> <app-professor #professorTab (eventResult)="professorSelected($event)"/>
</div> </div>
</mat-tab> </mat-tab>
<mat-tab label="Кабинет"> <mat-tab label="Кабинет">
<div> <div>
<app-lecture-hall (eventResult)="lectureHallSelected($event)"/> <app-lecture-hall #lectureHallTab (eventResult)="lectureHallSelected($event)"/>
</div> </div>
</mat-tab> </mat-tab>
<!-- <!--