Skip to content

Commit

Permalink
fix(useQuery): loading status on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Nov 30, 2019
1 parent e337836 commit 93e6c5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vue-apollo-composable/src/useQuery.ts
Expand Up @@ -96,6 +96,8 @@ export function useQuery<

function onError (queryError: any) {
error.value = queryError
loading.value = false
networkStatus.value = 8
}

let onStopHandlers: (() => void)[] = []
Expand Down

0 comments on commit 93e6c5b

Please sign in to comment.