Upgrade graphic of the chat
This commit is contained in:
parent
3cfbcc6b02
commit
b9a2433283
4 changed files with 19 additions and 5 deletions
|
@ -25,9 +25,9 @@
|
|||
<div class="chatElement">
|
||||
<div class="messagePart">
|
||||
{#if message.type === ChatMessageTypes.userIncoming}
|
||||
➡️: {#each targets as target}<ChatPlayerName player={target}></ChatPlayerName>{/each} ({renderDate(message.date)})
|
||||
>> {#each targets as target}<ChatPlayerName player={target}></ChatPlayerName>{/each} enter ({renderDate(message.date)})
|
||||
{:else if message.type === ChatMessageTypes.userOutcoming}
|
||||
⬅️: {#each targets as target}<ChatPlayerName player={target}></ChatPlayerName>{/each} ({renderDate(message.date)})
|
||||
<< {#each targets as target}<ChatPlayerName player={target}></ChatPlayerName>{/each} left ({renderDate(message.date)})
|
||||
{:else if message.type === ChatMessageTypes.me}
|
||||
<h4>Me: ({renderDate(message.date)})</h4>
|
||||
{#each texts as text}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue