Should defo be the fix please god
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m24s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m24s
This commit is contained in:
@@ -82,17 +82,11 @@ onUnmounted(() => {
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<Header>Chat</Header>
|
<Header>Chat</Header>
|
||||||
<div class="flex-col flex">
|
<div ref="messagesContainer" class="flex flex-col overflow-y-auto p-2">
|
||||||
<div
|
|
||||||
ref="messagesContainer"
|
|
||||||
class="flex flex-col overflow-y-auto p-2"
|
|
||||||
>
|
|
||||||
<p v-for="message in messages" :key="message.id">
|
<p v-for="message in messages" :key="message.id">
|
||||||
<span class="text-tertiary">{{ message.authorId }}:</span>
|
<span class="text-tertiary">{{ message.authorId }}:</span>
|
||||||
<template
|
<template
|
||||||
v-for="(part, i) in parseMessageParts(
|
v-for="(part, i) in parseMessageParts(message.text || '')"
|
||||||
message.text || '',
|
|
||||||
)"
|
|
||||||
:key="i"
|
:key="i"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
@@ -147,10 +141,7 @@ onUnmounted(() => {
|
|||||||
@click="fileInput.click()"
|
@click="fileInput.click()"
|
||||||
>Attach</Button
|
>Attach</Button
|
||||||
>
|
>
|
||||||
<Button class="flex-1" @click="scrollToBottom"
|
<Button class="flex-1" @click="scrollToBottom">Bottom</Button>
|
||||||
>Bottom</Button
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user