Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Only show prettify button when raw input is enabled
Samir L. Boulemaa25b0d03492a
diff --git a/pages/index.vue b/pages/index.vueindex 9689bff61..3bbc271b2 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -266,7 +266,7 @@class="icon"@click="prettifyRequestBody()"v-tooltip="$t('prettify_body')"- v-if="this.contentType.endsWith('json')"+ v-if="rawInput && this.contentType.endsWith('json')"><i class="material-icons">assistant</i></button>