Skip to content

Commit 75c90c9

Browse files
committed
Fix loadingKey
1 parent ab7c021 commit 75c90c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/vue-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class DollarApollo {
122122

123123
function applyLoadingModifier(value) {
124124
if (loadingKey) {
125-
vm.$set(loadingKey, vm.$get(loadingKey) + value);
125+
v[loadingKey] += value;
126126
}
127127

128128
if (loadingChangeCb) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-apollo",
3-
"version": "1.0.0-beta6",
3+
"version": "1.0.0-beta7",
44
"description": "Vue apollo integration",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)