Skip to content

Commit

Permalink
fix(MdTable): fix value condition for slot
Browse files Browse the repository at this point in the history
* fix(MdTable): fix value condition
* feat(MdTable): use hasValue computed
  • Loading branch information
Samuell1 authored Apr 10, 2018
1 parent 71b7afa commit af0b89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MdTable/MdTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<slot name="md-table-pagination" />
</md-content>

<slot v-if="value" />
<slot v-if="!hasValue" />
</md-tag-switcher>
</template>

Expand Down

0 comments on commit af0b89c

Please sign in to comment.