fix: cors when content-type is set for simple requests
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
@click.native="clearContent('rawParams', $event)"
|
||||
/>
|
||||
<ButtonSecondary
|
||||
v-if="contentType.endsWith('json')"
|
||||
v-if="contentType && contentType.endsWith('json')"
|
||||
ref="prettifyRequest"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="$t('action.prettify')"
|
||||
|
||||
Reference in New Issue
Block a user