summaryrefslogtreecommitdiff
path: root/ui/lib/components/MessageRun.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'ui/lib/components/MessageRun.svelte')
-rw-r--r--ui/lib/components/MessageRun.svelte6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/lib/components/MessageRun.svelte b/ui/lib/components/MessageRun.svelte
index b71e972..83a82a9 100644
--- a/ui/lib/components/MessageRun.svelte
+++ b/ui/lib/components/MessageRun.svelte
@@ -9,14 +9,14 @@
</script>
<div
- class="card m-4 px-4 py-1 relative"
+ class="card my-4 px-4 py-1 relative"
class:own-message={ownMessage}
class:other-message={!ownMessage}
>
<span class="chip variant-soft sticky top-o left-0">
@{name}:
</span>
- {#each messages as { at, body }}
- <Message {at} {body} />
+ {#each messages as { id, at, body }}
+ <Message {id} {at} {body} editable={ownMessage} />
{/each}
</div>