From 7c6313d97a351041b5349356d48a857a514171c2 Mon Sep 17 00:00:00 2001 From: Michael Chadwick Date: Mon, 15 Jul 2024 16:37:05 -0700 Subject: [PATCH 1/2] added an extra check for sessions and ignore loading UI if none found --- packages/ilios-common/addon/components/course/sessions.hbs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/ilios-common/addon/components/course/sessions.hbs b/packages/ilios-common/addon/components/course/sessions.hbs index 710b464251..9d27e9d96e 100644 --- a/packages/ilios-common/addon/components/course/sessions.hbs +++ b/packages/ilios-common/addon/components/course/sessions.hbs @@ -44,6 +44,8 @@ {{t "general.savedSuccessfully"}} {{/if}} + + {{#if this.sessions}}
{{/if}} + {{/if}} From 2433f05c012e8ebdeae793ea4ea875e99eb98df2 Mon Sep 17 00:00:00 2001 From: Michael Chadwick Date: Mon, 15 Jul 2024 16:56:30 -0700 Subject: [PATCH 2/2] use sessionsCount instead --- packages/ilios-common/addon/components/course/sessions.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ilios-common/addon/components/course/sessions.hbs b/packages/ilios-common/addon/components/course/sessions.hbs index 9d27e9d96e..0788e73a5f 100644 --- a/packages/ilios-common/addon/components/course/sessions.hbs +++ b/packages/ilios-common/addon/components/course/sessions.hbs @@ -45,7 +45,7 @@
{{/if}} - {{#if this.sessions}} + {{#if this.sessionsCount}}