From fe57749d9cd397ba33c33fe49068559afdf69c99 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Wed, 6 May 2026 09:25:45 +0200 Subject: [PATCH] improving note lsit Signed-off-by: Stephan Richter --- frontend/src/routes/notes/Index.svelte | 3 ++- frontend/src/routes/notes/List.svelte | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/routes/notes/Index.svelte b/frontend/src/routes/notes/Index.svelte index 72e4ec97..1c511c82 100644 --- a/frontend/src/routes/notes/Index.svelte +++ b/frontend/src/routes/notes/Index.svelte @@ -33,6 +33,7 @@ authors = {...authors, ...data.authors}; loader.offset += loader.limit; loader.active = false; + console.log({authors}); yikes(); if (Object.keys(data.notes).length) onscroll(null); // when notes were received, check whether they fill up the page @@ -78,4 +79,4 @@ - + diff --git a/frontend/src/routes/notes/List.svelte b/frontend/src/routes/notes/List.svelte index 4230eca1..3316711e 100644 --- a/frontend/src/routes/notes/List.svelte +++ b/frontend/src/routes/notes/List.svelte @@ -64,6 +64,7 @@ goToEntity(note)}>{title(note)} {/if} + {#if !module} {authors[note.user_id].name} – {/if} {note.timestamp.replace('T',' ')} {#if user.id == note.user_id}