Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: broken expand / collapse graphql history card

liyasthomas1e6e8264266b
diff --git a/components/history/graphql/Card.vue b/components/history/graphql/Card.vue
index 5e7c14763..a5bba2443 100644
--- a/components/history/graphql/Card.vue
+++ b/components/history/graphql/Card.vue
@@ -73,7 +73,7 @@ export default defineComponent({
const expand = ref(false)
const query = computed(() =>
- expand
+ expand.value
? (props.entry.query.split("\n") as string[])
: (props.entry.query
.split("\n")