Merge branch 'module/notes' into dev
Build Docker Image / Docker-Build (push) Successful in 3m7s
Build Docker Image / Clean-Registry (push) Successful in 2s

This commit is contained in:
2026-05-06 09:26:13 +02:00
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -33,6 +33,7 @@
authors = {...authors, ...data.authors}; authors = {...authors, ...data.authors};
loader.offset += loader.limit; loader.offset += loader.limit;
loader.active = false; loader.active = false;
console.log({authors});
yikes(); yikes();
if (Object.keys(data.notes).length) onscroll(null); // when notes were received, check whether they fill up the page if (Object.keys(data.notes).length) onscroll(null); // when notes were received, check whether they fill up the page
@@ -78,4 +79,4 @@
</svelte:head> </svelte:head>
<svelte:window {onscroll} /> <svelte:window {onscroll} />
<List {notes} /> <List {notes} {authors} />
+1
View File
@@ -64,6 +64,7 @@
<legend class="entity" onclick={() => goToEntity(note)}>{title(note)}</legend> <legend class="entity" onclick={() => goToEntity(note)}>{title(note)}</legend>
{/if} {/if}
<legend class="time"> <legend class="time">
{#if !module} {authors[note.user_id].name} {/if}
{note.timestamp.replace('T',' ')} {note.timestamp.replace('T',' ')}
{#if user.id == note.user_id} {#if user.id == note.user_id}
<button class="symbol" onclick={() => drop(note.id)}></button> <button class="symbol" onclick={() => drop(note.id)}></button>