Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5e4a920

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

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎src/components/table/CDataTable.vue

Copy file name to clipboardExpand all lines: src/components/table/CDataTable.vue
+5Lines changed: 5 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.