Skip to content

Commit

Permalink
Merge pull request #7970 from michaelchadwick/frontend-5590-no-sessio…
Browse files Browse the repository at this point in the history
…ns-hide-filter-and-table

hide filter and table header if no sessions for course
  • Loading branch information
dartajax committed Jul 16, 2024
2 parents 2064b18 + 2433f05 commit 829d29d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ilios-common/addon/components/course/sessions.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
{{t "general.savedSuccessfully"}}
</div>
{{/if}}

{{#if this.sessionsCount}}
<div class="filter">
<input
aria-label={{t "general.sessionTitleFilterPlaceholder"}}
Expand Down Expand Up @@ -80,4 +82,5 @@
<SessionsGridLoading @count={{this.sessionsCount}} />
{{/if}}
</section>
{{/if}}
</section>

0 comments on commit 829d29d

Please sign in to comment.