Only show prettify button when request body is JSON
This commit is contained in:
parent
98cb9b3234
commit
5c5fa5c4bc
1 changed files with 1 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue