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