[F] Fix "v-for should have explicit keys"
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user