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 652cac8

Browse filesBrowse files
committed
fix(CDataTable): v-else without v-if breaking Parcel - thanks @adamshaylor
- closes coreui#143 v-else used on element <td> without corresponding v-if - closes coreui#144 fix: CDataTable: v-else compiler warning
1 parent 9709051 commit 652cac8
Copy full SHA for 652cac8

File tree

1 file changed

+7
-6
lines changed
Filter options

1 file changed

+7
-6
lines changed

‎src/components/table/CDataTable.vue

Copy file name to clipboardExpand all lines: src/components/table/CDataTable.vue
+7-6Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,13 @@
124124
:key="itemIndex"
125125
>
126126
<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-
/>
127+
<template v-if="$scopedSlots[colName]">
128+
<slot
129+
:name="colName"
130+
:item="item"
131+
:index="itemIndex + firstItemIndex"
132+
/>
133+
</template>
133134
<td
134135
v-else
135136
:class="cellClass(item, colName, index)"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.