mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix data tables vue display
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user