Skip to content

Commit c9c3ce4

Browse files
author
Guillaume Chau
committed
Version bump
1 parent 7889a0d commit c9c3ce4

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

dist/vue-apollo.esm.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2872,7 +2872,11 @@ var SmartQuery = function (_SmartApollo) {
28722872
});
28732873
}
28742874

2875-
this.maySetLoading();
2875+
var currentResult = this.maySetLoading();
2876+
2877+
if (!currentResult.loading) {
2878+
this.nextResult(currentResult);
2879+
}
28762880

28772881
get(SmartQuery.prototype.__proto__ || Object.getPrototypeOf(SmartQuery.prototype), 'executeApollo', this).call(this, variables);
28782882
}
@@ -2888,6 +2892,7 @@ var SmartQuery = function (_SmartApollo) {
28882892
}
28892893
this.loading = true;
28902894
}
2895+
return currentResult;
28912896
}
28922897
}, {
28932898
key: 'nextResult',
@@ -3647,7 +3652,7 @@ function install(Vue, options) {
36473652
ApolloProvider$1.install = install;
36483653

36493654
// eslint-disable-next-line no-undef
3650-
ApolloProvider$1.version = "3.0.0-alpha.1";
3655+
ApolloProvider$1.version = "3.0.0-alpha.2";
36513656

36523657
var ApolloProvider$$1 = ApolloProvider$1;
36533658

0 commit comments

Comments
 (0)