diff options
| author | eal <eal@waifu.club> | 2018-02-05 14:05:07 +0000 |
|---|---|---|
| committer | eal <eal@waifu.club> | 2018-02-05 14:05:07 +0000 |
| commit | 082a119fd7c4182247ffb77063c9642cbb00af49 (patch) | |
| tree | be8c3a177212a6f4602d170792d5c6ac1d1d4d9b /src | |
| parent | 7957489aa0dc0522e32d76c9f970fb5c7ae1b958 (diff) | |
| parent | e647bb22bb179896dc00025bb35f650c3dc395bf (diff) | |
Merge branch 'fix/component-list-keys' into 'develop'
Add keys to all component lists.
See merge request pleroma/pleroma-fe!203
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/status/status.vue | 2 | ||||
| -rw-r--r-- | src/components/timeline/timeline.vue | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index f6afaa25..28272b0b 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -100,7 +100,7 @@ <div @click.prevent="linkClicked" class="status-content" v-html="status.statusnet_html"></div> <div v-if='status.attachments' class='attachments'> - <attachment v-if="!hideAttachments" :status-id="status.id" :nsfw="status.nsfw" :attachment="attachment" v-for="attachment in status.attachments"> + <attachment v-if="!hideAttachments" :status-id="status.id" :nsfw="status.nsfw" :attachment="attachment" v-for="attachment in status.attachments" :key="attachment.id"> </attachment> </div> </div> diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 9d2e1ea1..d6ecfd2f 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -32,7 +32,7 @@ </div> <div class="panel-body base01-background"> <div class="timeline"> - <user-card v-for="follower in followers" :user="follower" :showFollows="false"></user-card> + <user-card v-for="follower in followers" :key="follower.id" :user="follower" :showFollows="false"></user-card> </div> </div> </div> @@ -44,7 +44,7 @@ </div> <div class="panel-body base01-background"> <div class="timeline"> - <user-card v-for="friend in friends" :user="friend" :showFollows="true"></user-card> + <user-card v-for="friend in friends" :key="friend.id" :user="friend" :showFollows="true"></user-card> </div> </div> </div> |
