Skip to content

Commit 3c61bcf

Browse files
Samuell1marcosmoura
authored andcommitted
fix(MdTable): fix table rendering default slot twice (#1731)
1 parent 2a6a2e8 commit 3c61bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MdTable/MdTable.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<slot name="md-table-pagination" />
4848
</md-content>
4949

50-
<slot v-if="!hasValue" />
50+
<slot v-if="!hasValue && $scopedSlots['md-table-row']" />
5151
</md-tag-switcher>
5252
</template>
5353

0 commit comments

Comments
 (0)