This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user