diff --git a/packages/hoppscotch-common/src/composables/graphql.ts b/packages/hoppscotch-common/src/composables/graphql.ts index a3cee3864..0e4f933c2 100644 --- a/packages/hoppscotch-common/src/composables/graphql.ts +++ b/packages/hoppscotch-common/src/composables/graphql.ts @@ -192,11 +192,12 @@ export const useGQLQuery = < } else { args.variables = updatedVars } + nextTick(rerunQuery) + } else { + rerunQuery() } isPaused.value = false - - nextTick(rerunQuery) } const pause = () => {