Skip to content

Commit

Permalink
fix(useSubscription): 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 93e6c5b commit a5dee52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vue-apollo-composable/src/useSubscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export function useSubscription <

function onError (fetchError: any) {
error.value = fetchError
loading.value = false
}

function stop () {
Expand Down

0 comments on commit a5dee52

Please sign in to comment.