Add key, allowing vue to optimize.
Some checks failed
Java CI with Gradle / build (push) Has been cancelled

This commit is contained in:
Michael Lipp 2025-05-04 11:36:55 +02:00
parent a5433c869b
commit 76b579c404

View file

@ -30,7 +30,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<template v-for="(entry, rowIndex) in filteredData"> <template v-for="(entry, rowIndex) in filteredData" :key="entry.name">
<tr :class="[(rowIndex % 2) ? 'odd' : 'even']" <tr :class="[(rowIndex % 2) ? 'odd' : 'even']"
:aria-expanded="(entry.name in detailsByName) ? 'true' : 'false'"> :aria-expanded="(entry.name in detailsByName) ? 'true' : 'false'">
<td v-for="key in controller.keys" <td v-for="key in controller.keys"