Merge pull request #9442 from dannon/fix-data-tables-vue

[20.01] Fix data tables vue display
This commit is contained in:
Marius van den Beek
2020-02-26 10:02:30 +01:00
committed by GitHub
@@ -3,15 +3,17 @@
<template v-slot:title>
Current data table registry contains {{ rows.length }} data tables
</template>
<template slot:rows v-for="(row, index) in rows">
<tr :key="row.id" :class="[index % 2 === 0 ? 'tr' : 'odd_row']">
<td>
<a href="javascript:void(0)" @click="handleTableNameClick">{{ row.name }}</a>
</td>
<td>{{ row.filename }}</td>
<td>{{ row.tool_data_path }}</td>
<td>{{ row.errors }}</td>
</tr>
<template v-slot:rows>
<template v-for="(row, index) in rows">
<tr :key="row.id" :class="[index % 2 === 0 ? 'tr' : 'odd_row']">
<td>
<a href="javascript:void(0)" @click="handleTableNameClick">{{ row.name }}</a>
</td>
<td>{{ row.filename }}</td>
<td>{{ row.tool_data_path }}</td>
<td>{{ row.errors }}</td>
</tr>
</template>
</template>
</base-grid>
</template>