Skip to content

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

GQL Response options only visible on response

Andrew Bastin24d1dbadb7d6
diff --git a/pages/graphql.vue b/pages/graphql.vue
index 2209dae63..4f5d2cc15 100644
--- a/pages/graphql.vue
+++ b/pages/graphql.vue
@@ -225,6 +225,7 @@
class="icon"
@click="downloadResponse"
ref="downloadResponse"
+ v-if="response"
v-tooltip="$t('download_file')"
>
<i class="material-icons">get_app</i>
@@ -233,6 +234,7 @@
class="icon"
@click="copyResponse"
ref="copyResponseButton"
+ v-if="response"
v-tooltip="$t('copy_response')"
>
<i class="material-icons">file_copy</i>