aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat/chat.vue
diff options
context:
space:
mode:
authorRoger Braun <rbraun@Bobble.local>2017-12-05 14:20:34 +0100
committerRoger Braun <rbraun@Bobble.local>2017-12-05 14:20:34 +0100
commit6c4e3a509a23a4f683aee02fcd0b186813ae3de0 (patch)
treee307d15bd4093b274444e684d7b7487c92257942 /src/components/chat/chat.vue
parenta03b92e252406a8469a9ffe871a6882b3aedb366 (diff)
Don't display if we don't have a chat.
Diffstat (limited to 'src/components/chat/chat.vue')
-rw-r--r--src/components/chat/chat.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/chat/chat.vue b/src/components/chat/chat.vue
index 0c397472..488faf9a 100644
--- a/src/components/chat/chat.vue
+++ b/src/components/chat/chat.vue
@@ -7,7 +7,7 @@
</div>
<div class="panel-body base01-background">
<div class="chat-window">
- <div class="chat-message" v-for="message in messages">
+ <div class="chat-message" v-for="message in messages" :key="message.id">
<span class="chat-avatar">
<img :src="message.author.avatar" />
{{message.author.username}}: