fix: hide body options for monitor type push

This commit is contained in:
Stefan Ottosson 2024-05-23 17:49:18 +02:00
parent b2ede38269
commit e670b5f4cf
No known key found for this signature in database
GPG Key ID: 254BFA8856A90692
1 changed files with 45 additions and 42 deletions

View File

@ -733,6 +733,7 @@
</select>
</div>
<template v-if="monitor.type !== 'push'">
<!-- Encoding -->
<div class="my-3">
<label for="httpBodyEncoding" class="form-label">{{ $t("Body Encoding") }}</label>
@ -779,6 +780,8 @@
</option>
</select>
</div>
</template>
<template v-if="monitor.authMethod && monitor.authMethod !== null ">
<template v-if="monitor.authMethod === 'mtls' ">
<div class="my-3">