mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 19:08:20 +00:00
Fixed displaying columns that arent defined (#2)
Co-authored-by: adro <a.schlett@gmx.de>
This commit is contained in:
parent
71687240c7
commit
db147d842c
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ function toggleSorting(columnName: string) {
|
||||||
<tbody>
|
<tbody>
|
||||||
<!-- eslint-disable-next-line vue/require-v-for-key -->
|
<!-- eslint-disable-next-line vue/require-v-for-key -->
|
||||||
<tr v-for="row of displayData">
|
<tr v-for="row of displayData">
|
||||||
<td v-for="cell in row" :key="cell" v-text="cell"/>
|
<td v-for="[column] in Object.entries(columns ?? {})" :key="column" v-text="row[column]"/>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Add table
Reference in a new issue