Permalink
Browse files

fix(modal): Correct the internal btn variable names

Fixes #1650
  • Loading branch information...
Rob Cresswell
Rob Cresswell committed Mar 8, 2018
1 parent 5b2af14 commit 301f2e422864eb0b799a2dfdc8ef920393a6594f
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/components/modal/modal.js
@@ -101,9 +101,9 @@ export default {
if (!t.hideFooter) {
let modalFooter = $slots['modal-footer']
if (!modalFooter) {
let okButton = h(false)
let cancelButton = h(false)
if (!t.okOnly) {
okButton = h(
cancelButton = h(
'b-btn',
{
props: {
@@ -120,7 +120,7 @@ export default {
[$slots['modal-cancel'] || t.cancelTitle]
)
}
const cancelButton = h(
const okButton = h(
'b-btn',
{
props: {

0 comments on commit 301f2e4

Please sign in to comment.