From 6fbb790fcd2781faef91c331f838908a7d355588 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Sat, 25 Nov 2023 09:46:18 +0000 Subject: [PATCH] Print messages in folder --- src/components/FolderView.svelte | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/components/FolderView.svelte b/src/components/FolderView.svelte index 913e427..dc2cd81 100644 --- a/src/components/FolderView.svelte +++ b/src/components/FolderView.svelte @@ -1,17 +1,24 @@ - -
{JSON.stringify(folder, null, 2)}
-
- -
{JSON.stringify(messages, null, 2)}
-
+

{folder.name}

+{#if messages} + {#each messages as msg} +
+

{msg.Envelope.Subject}

+

{msg.Envelope.From}

+

{msg.Envelope.Date}

+
+ {/each} +{/if}