Skip to content

Commit 9c16c0d

Browse files
committed
Merge branch 'master' of github.com:nuxt/nuxt.js
2 parents 5849c68 + f62696d commit 9c16c0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/app/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function render (to, from, next) {
130130
if (typeof Component.options.validate !== 'function') return
131131
isValid = Component.options.validate({
132132
params: to.params || {},
133-
query: to.query || {}
133+
query : to.query || {}<%= (store ? ', store: context.store' : '') %>
134134
})
135135
})
136136
if (!isValid) {

lib/app/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export default context => {
153153
if (typeof Component.options.validate !== 'function') return
154154
isValid = Component.options.validate({
155155
params: context.route.params || {},
156-
query: context.route.query || {}
156+
query: context.route.query || {}<%= (store ? ', store: ctx.store' : '') %>
157157
})
158158
})
159159
if (!isValid) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy