Skip to content

Commit 5e4a920

Browse files
committed
fix(CDataTable): striped style not working with details slot
- closes #127 thanks @alexch1311 - closes #77 thanks @slav0nic
1 parent 652cac8 commit 5e4a920

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/table/CDataTable.vue

+5
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@
140140
</td>
141141
</template>
142142
</tr>
143+
<tr
144+
v-if="$scopedSlots.details && striped"
145+
:key="'details-striped' + itemIndex"
146+
class="invisible"
147+
></tr>
143148
<tr
144149
v-if="$scopedSlots.details"
145150
@click="rowClicked(item, itemIndex + firstItemIndex, $event, true)"

0 commit comments

Comments
 (0)