diff --git a/src/EventModal.svelte b/src/EventModal.svelte index 7b956b1..b8107d0 100644 --- a/src/EventModal.svelte +++ b/src/EventModal.svelte @@ -14,13 +14,15 @@ {event.title} - {#if event.extendedProps.description} - + + {#if event.extendedProps.description} {#each event.extendedProps.description.split('\n') as line}

{line}

{/each} -
- {/if} + {:else} + Pas de description + {/if} +
@@ -35,7 +37,7 @@ {dateFormat(event.start)} - {dateFormat(event.end)} {:else} - + {timeFormat(event.start)} - {timeFormat(event.end)} {/if}