Permalink
Browse files

fix(slacknotes): avoid duplicate vue for-loop keys

  • Loading branch information...
eteubert committed Jan 13, 2019
1 parent 53077b1 commit 7578cdf48e9f1833fcb6b476506ac2d7adc45419
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/src/components/Slacknotes.vue
@@ -50,7 +50,7 @@
class="p-card slack-link"
v-bind:class="{ excluded: link.excluded }"
v-for="link in sortedLinks"
:key="link.link"
:key="link.id"
>
<div class="p-card-body" style="display: flex; justify-content: space-between">
<div class="slack-link-select">
@@ -284,6 +284,7 @@ export default {
link.unix_date = unix_date;
link.datetime = datetime;
link.id = unix_date + link.link;
links.push(link);
}

0 comments on commit 7578cdf

Please sign in to comment.