Only show prettify button when request body is JSON
This commit is contained in:
@@ -266,6 +266,7 @@
|
||||
class="icon"
|
||||
@click="prettifyRequestBody()"
|
||||
v-tooltip="$t('prettify_body')"
|
||||
v-if="this.contentType.endsWith('json')"
|
||||
>
|
||||
<i class="material-icons">assistant</i>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user