summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-25 04:27:34 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-25 04:27:34 +0900
commit3ef002e14d01cc36f78f93b96fe5cd29136382d6 (patch)
tree1d26402797c6fc94f8aa512534dc2e337f98c51e /src/client
parentFix layout (diff)
downloadsharkey-3ef002e14d01cc36f78f93b96fe5cd29136382d6.tar.gz
sharkey-3ef002e14d01cc36f78f93b96fe5cd29136382d6.tar.bz2
sharkey-3ef002e14d01cc36f78f93b96fe5cd29136382d6.zip
Fix bug
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/widgets/broadcast.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/views/widgets/broadcast.vue b/src/client/app/common/views/widgets/broadcast.vue
index 7049945d55..6850ff7afc 100644
--- a/src/client/app/common/views/widgets/broadcast.vue
+++ b/src/client/app/common/views/widgets/broadcast.vue
@@ -18,7 +18,7 @@
<p class="fetching" v-if="fetching">{{ $t('fetching') }}<mk-ellipsis/></p>
<h1 v-if="!fetching">{{ announcements.length == 0 ? $t('no-broadcasts') : announcements[i].title }}</h1>
<p v-if="!fetching">
- <mfm v-if="announcements.length != 0" :text="announcements[i].text"/>
+ <mfm v-if="announcements.length != 0" :text="announcements[i].text" :key="i"/>
<img v-if="announcements.length != 0 && announcements[i].image" :src="announcements[i].image" alt="" style="display: block; max-height: 130px; max-width: 100%;"/>
<template v-if="announcements.length == 0">{{ $t('have-a-nice-day') }}</template>
</p>