Skip to content

Commit

Permalink
fix: hide empty tables
Browse files Browse the repository at this point in the history
  • Loading branch information
domoberzin committed Aug 13, 2023
1 parent 19fbaf4 commit 26d2917
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,23 +245,6 @@ exports[`ExtensionConfirmModalComponent should snap with the extended students a
</table>
</tm-sortable-table>
</div>
<div>
<h1>
Instructors
</h1>
<tm-sortable-table>
<table
class="table table-bordered table-striped"
>
<thead>
<tr>
</tr>
</thead>
<tbody>
</tbody>
</table>
</tm-sortable-table>
</div>
<div
class="form-check"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h5 class="modal-title" *ngIf="isDeleteModal() || isSessionDeleteModal()">Confir
<b>{{ extensionTimestamp | formatDateDetail: feedbackSessionTimeZone }}</b>:
</div>

<div>
<div *ngIf="selectedStudents.length !== 0">
<h1>Students</h1>
<tm-sortable-table
[columns]="studentColumnsData"
Expand All @@ -37,7 +37,7 @@ <h1>Students</h1>
></tm-sortable-table>
</div>

<div>
<div *ngIf="selectedInstructors.length !== 0">
<h1>Instructors</h1>
<tm-sortable-table
[columns]="instructorColumnsData"
Expand Down

0 comments on commit 26d2917

Please sign in to comment.