fix: regression on join team deference due to GQLClient pause behavior

This commit is contained in:
Andrew Bastin
2022-02-08 13:41:48 +05:30
parent c6ca4e19cd
commit 323d233495

View File

@@ -339,7 +339,7 @@ export const useGQLQuery = <DocType, DocVarType, DocErrorType extends string>(
source.value = !isPaused.value
? client.value.executeQuery<DocType, DocVarType>(request.value, {
requestPolicy: "cache-and-network",
requestPolicy: "network-only",
})
: undefined
},
@@ -421,6 +421,7 @@ export const useGQLQuery = <DocType, DocVarType, DocErrorType extends string>(
}
}
isPaused.value = false
updateTicker.value = !updateTicker.value
}