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"
(selectedTabChange)="chooseTabs($event)">
#tabGroup
(selectedTabChange)="chooseTabs($event.index)">
<mat-tab label="Группа">
<div>
<app-group (eventResult)="groupSelected($event)"/>
<app-group #groupTab (eventResult)="groupSelected($event)"/>
</div>
</mat-tab>
<mat-tab label="Преподаватель">
<div>
<app-professor (eventResult)="professorSelected($event)"/>
<app-professor #professorTab (eventResult)="professorSelected($event)"/>
</div>
</mat-tab>
<mat-tab label="Кабинет">
<div>
<app-lecture-hall (eventResult)="lectureHallSelected($event)"/>
<app-lecture-hall #lectureHallTab (eventResult)="lectureHallSelected($event)"/>
</div>
</mat-tab>
<!--