We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9709051 commit 652cac8Copy full SHA for 652cac8
src/components/table/CDataTable.vue
@@ -124,12 +124,13 @@
124
:key="itemIndex"
125
>
126
<template v-for="(colName, index) in rawColumnNames" >
127
- <slot
128
- v-if="$scopedSlots[colName]"
129
- :name="colName"
130
- :item="item"
131
- :index="itemIndex + firstItemIndex"
132
- />
+ <template v-if="$scopedSlots[colName]">
+ <slot
+ :name="colName"
+ :item="item"
+ :index="itemIndex + firstItemIndex"
+ />
133
+ </template>
134
<td
135
v-else
136
:class="cellClass(item, colName, index)"
0 commit comments