[F] Fix "v-for should have explicit keys"

This commit is contained in:
Hykilpikonna
2019-10-05 17:12:31 -04:00
parent 8aa913fe09
commit c9561fba71
2 changed files with 6 additions and 2 deletions
@@ -34,7 +34,8 @@
<div class="course-card-content expand notification"
v-if="countUnread() !== 0">
<unread-entry v-for="assignment in unreadAssignments"
:assignment="assignment">
:assignment="assignment"
:key="assignment.id">
</unread-entry>
</div>
</el-card>
+4 -1
View File
@@ -25,7 +25,10 @@
</el-col>
</el-row>
<overall-course v-for="course in courses" :course="course"></overall-course>
<overall-course v-for="course in courses"
:course="course"
:key="course.id">
</overall-course>
</div>
</template>