From 5c5fa5c4bc9464c4450fcafd4e635705ef30a2d9 Mon Sep 17 00:00:00 2001 From: "Samir L. Boulema" Date: Wed, 6 May 2020 23:02:22 +0200 Subject: [PATCH] Only show prettify button when request body is JSON --- pages/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/index.vue b/pages/index.vue index 6bc86c36a..9689bff61 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -266,6 +266,7 @@ class="icon" @click="prettifyRequestBody()" v-tooltip="$t('prettify_body')" + v-if="this.contentType.endsWith('json')" > assistant