Merge pull request #923 from AndrewBastin/feat/gql-response-opt-visibility

GraphQL response options only visible when a response is shown
This commit is contained in:
Liyas Thomas
2020-06-05 10:22:59 +05:30
committed by GitHub

View File

@@ -225,6 +225,7 @@
class="icon" class="icon"
@click="downloadResponse" @click="downloadResponse"
ref="downloadResponse" ref="downloadResponse"
v-if="response"
v-tooltip="$t('download_file')" v-tooltip="$t('download_file')"
> >
<i class="material-icons">get_app</i> <i class="material-icons">get_app</i>
@@ -233,6 +234,7 @@
class="icon" class="icon"
@click="copyResponse" @click="copyResponse"
ref="copyResponseButton" ref="copyResponseButton"
v-if="response"
v-tooltip="$t('copy_response')" v-tooltip="$t('copy_response')"
> >
<i class="material-icons">file_copy</i> <i class="material-icons">file_copy</i>