Skip to content

Commit 415404c

Browse files
committed
fix: ssr blocking when skip is true
1 parent 3f57cf5 commit 415404c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function launch () {
9191
if (key.charAt(0) !== '$') {
9292
let options = apollo[key]
9393
const smart = this.$apollo.addSmartQuery(key, options)
94-
if (options.prefetch !== false && apollo.$prefetch !== false) {
94+
if (options.prefetch !== false && apollo.$prefetch !== false && !smart.skip) {
9595
this.$_apolloPromises.push(smart.firstRun)
9696
}
9797
}

0 commit comments

Comments
 (0)