This commit is contained in:
2020-01-31 19:16:12 +00:00
parent af6edb5df5
commit fc6aa4c926

View File

@@ -39,6 +39,7 @@
*/ --> */ -->
<template v-slot:body="{ items }"> <template v-slot:body="{ items }">
<tbody> <tbody>
<template v-if="!narrowFormat">
<tr v-for="item in items" :key="item.id"> <tr v-for="item in items" :key="item.id">
<template v-if="showSelect"> <template v-if="showSelect">
<td> <td>
@@ -73,6 +74,10 @@
</template> </template>
</td> </td>
</tr> </tr>
</template>
<template v-else>
<!-- Narrow width template -->
</template>
</tbody> </tbody>
</template> </template>
</v-data-table> </v-data-table>
@@ -104,7 +109,8 @@ export default {
totalRecords: 0, totalRecords: 0,
records: [], records: [],
rowsPerPageItems: [5, 10, 25, 50, 100], rowsPerPageItems: [5, 10, 25, 50, 100],
selected: [] selected: [],
narrowFormat: false
}; };
}, },
props: { props: {