Skip to content

Commit

Permalink
Merge pull request #1 from fyhring/patch-1
Browse files Browse the repository at this point in the history
Change condition logic
  • Loading branch information
RobertGlynWilliams authored Dec 29, 2017
2 parents 1b62217 + d7d5542 commit b9fa1f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/vee-validate-laravel.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ export default {
}
};

Vue.prototype.$laravelData = {};
if(options) {
Vue.prototype.$laravelData = options;
} else {
Vue.prototype.$laravelData = {};
}
}
};
};

0 comments on commit b9fa1f1

Please sign in to comment.