cancel() disables loading now

This commit is contained in:
kolaente 2018-12-19 12:27:03 +01:00
parent bae9ee5ef9
commit 511edfb5b9
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -4,7 +4,8 @@ export default {
context.loading = true
}, 100);
return () => {
clearTimeout(timeout);
clearTimeout(timeout)
context.loading = false
};
},
error(e, context) {