[F] Fix "v-for should have explicit keys"
This commit is contained in:
@@ -34,7 +34,8 @@
|
|||||||
<div class="course-card-content expand notification"
|
<div class="course-card-content expand notification"
|
||||||
v-if="countUnread() !== 0">
|
v-if="countUnread() !== 0">
|
||||||
<unread-entry v-for="assignment in unreadAssignments"
|
<unread-entry v-for="assignment in unreadAssignments"
|
||||||
:assignment="assignment">
|
:assignment="assignment"
|
||||||
|
:key="assignment.id">
|
||||||
</unread-entry>
|
</unread-entry>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|||||||
@@ -25,7 +25,10 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user