Fixing things if there is no end datetime set.
This commit is contained in:
@@ -242,7 +242,7 @@ function toggle_details(id: string) {
|
||||
|
||||
<td class="hidden md:table-cell">
|
||||
<div class="flex flex-col text-xs hover:scale-125 transition-all duration-400 hover:duration-1000">
|
||||
<span class=" text-surface-700-300"
|
||||
<span class=" text-surface-700-300 min-w-30"
|
||||
>
|
||||
<span class="font-bold">
|
||||
{ae_util.iso_datetime_formatter(
|
||||
@@ -262,11 +262,15 @@ function toggle_details(id: string) {
|
||||
session_obj?.start_datetime,
|
||||
'time_12_short'
|
||||
)}</span>
|
||||
{#if session_obj?.end_datetime}
|
||||
<span class="text-surface-500">
|
||||
– {ae_util.iso_datetime_formatter(
|
||||
session_obj?.end_datetime,
|
||||
'time_12_short'
|
||||
)}</span>
|
||||
{:else}
|
||||
|
||||
{/if}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user