From 7ef6411269c503019a9ebd1c692f31306a97abe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Wed, 5 Apr 2017 18:24:15 +0200 Subject: [PATCH] Update client.js --- lib/app/client.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/app/client.js b/lib/app/client.js index 49ec770ad7..5d12832301 100644 --- a/lib/app/client.js +++ b/lib/app/client.js @@ -130,8 +130,7 @@ function render (to, from, next) { if (typeof Component.options.validate !== 'function') return isValid = Component.options.validate({ params : to.params || {}, - query : to.query || {}, - store : context.store.state || {} + query : to.query || {}<%= (store ? ', store: ctx.store' : '') %> }) }) if (!isValid) {