aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.vue
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-06-02 17:04:59 +0200
committerRoger Braun <roger@rogerbraun.net>2017-06-02 17:04:59 +0200
commite901e064de8f961450129013978ca72666a7e7e8 (patch)
tree3ce0c60bac50219e627a05be77d18cf846fd430e /src/components/notifications/notifications.vue
parentdb234bc293ed510e7f6747becc30283f3c11d2ab (diff)
Key notifications so the open reply windows won't switch places.
Diffstat (limited to 'src/components/notifications/notifications.vue')
-rw-r--r--src/components/notifications/notifications.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index 97989aea..f5950ac9 100644
--- a/src/components/notifications/notifications.vue
+++ b/src/components/notifications/notifications.vue
@@ -7,7 +7,7 @@
<button @click.prevent="markAsSeen" class="base06 base02-background read-button">Read!</button>
</div>
<div class="panel-body base03-border">
- <div v-for="notification in visibleNotifications" class="notification" :class='{"unseen": !notification.seen}'>
+ <div v-for="notification in visibleNotifications" :key="notification" class="notification" :class='{"unseen": !notification.seen}'>
<a :href="notification.action.user.statusnet_profile_url">
<img class='avatar' :src="notification.action.user.profile_image_url_original">
</a>