From a25b0d03492a758913f03b89af7ae06d4be6788d Mon Sep 17 00:00:00 2001 From: "Samir L. Boulema" Date: Thu, 7 May 2020 09:14:10 +0200 Subject: [PATCH] Only show prettify button when raw input is enabled --- pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.vue b/pages/index.vue index 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')" > assistant