mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix key doubling error in ReportTable.vue
- Co-Authored-By: mattwr18 <mattwr18@gmail.com>
This commit is contained in:
parent
3421afe4e0
commit
a84d78e3ee
@ -24,8 +24,9 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<template v-for="report in reports">
|
||||
<!-- should be ':key="report.resource.id"' for having one element for every resource, but this crashes at the moment, because the 'reports' query returns multiple reports on the same resource! I will create an issue -->
|
||||
<report-row
|
||||
:key="report.resource.id"
|
||||
:key="report.id"
|
||||
:report="report"
|
||||
@confirm-report="$emit('confirm', report)"
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user