File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/runtime/components/data Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44
44
</thead >
45
45
<tbody :class =" ui.tbody" >
46
46
<tr v-if =" loadingState && loading && !rows.length" >
47
- <td :colspan =" columns.length + (modelValue ? 1 : 0)" >
47
+ <td :colspan =" columns.length + (modelValue ? 1 : 0) + ($slots.expand ? 1 : 0) " >
48
48
<slot name =" loading-state" >
49
49
<div :class =" ui.loadingState.wrapper" >
50
50
<UIcon v-if =" loadingState.icon" :name =" loadingState.icon" :class =" ui.loadingState.icon" aria-hidden =" true" />
57
57
</tr >
58
58
59
59
<tr v-else-if =" emptyState && !rows.length" >
60
- <td :colspan =" columns.length + (modelValue ? 1 : 0)" >
60
+ <td :colspan =" columns.length + (modelValue ? 1 : 0) + ($slots.expand ? 1 : 0) " >
61
61
<slot name =" empty-state" >
62
62
<div :class =" ui.emptyState.wrapper" >
63
63
<UIcon v-if =" emptyState.icon" :name =" emptyState.icon" :class =" ui.emptyState.icon" aria-hidden =" true" />
You can’t perform that action at this time.
0 commit comments