Permalink
Browse files

fix(card): duplicate header and footer slots with no-body (#1713, #1680)

  • Loading branch information...
pi0 committed Apr 2, 2018
1 parent 831428a commit 2bd0e713b877e1ced7fa5caba418e9b88c12aa1f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/components/card/card.js
@@ -63,10 +63,10 @@ export default {
)
}
if (props.noBody) {
childNodes.push(children)
childNodes.push($slots.default)
} else {
childNodes.push(
h(CardBody, { props: pluckProps(bodyProps, props) }, children)
h(CardBody, { props: pluckProps(bodyProps, props) }, $slots.default)
)
}
if (props.footer || $slots.footer) {

0 comments on commit 2bd0e71

Please sign in to comment.