From d7d5542cf92b7de2f2b9aa14599d060002e5f9a3 Mon Sep 17 00:00:00 2001 From: Niels Fyhring Date: Fri, 29 Dec 2017 22:36:33 +0100 Subject: [PATCH] Change condition logic ... to make a test. --- src/vee-validate-laravel.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/vee-validate-laravel.js b/src/vee-validate-laravel.js index 89e876d..f0b9d01 100644 --- a/src/vee-validate-laravel.js +++ b/src/vee-validate-laravel.js @@ -25,10 +25,9 @@ export default { } }; + Vue.prototype.$laravelData = {}; if(options) { Vue.prototype.$laravelData = options; - } else { - Vue.prototype.$laravelData = {}; } } -}; \ No newline at end of file +};