Skip to content

Commit

Permalink
Change condition logic
Browse files Browse the repository at this point in the history
... to make a test.
  • Loading branch information
fyhring authored Dec 29, 2017
1 parent 1b62217 commit d7d5542
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 d7d5542

Please sign in to comment.