mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
fix: hide body options for monitor type push
This commit is contained in:
parent
b2ede38269
commit
e670b5f4cf
1 changed files with 45 additions and 42 deletions
|
@ -733,6 +733,7 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<template v-if="monitor.type !== 'push'">
|
||||||
<!-- Encoding -->
|
<!-- Encoding -->
|
||||||
<div class="my-3">
|
<div class="my-3">
|
||||||
<label for="httpBodyEncoding" class="form-label">{{ $t("Body Encoding") }}</label>
|
<label for="httpBodyEncoding" class="form-label">{{ $t("Body Encoding") }}</label>
|
||||||
|
@ -779,6 +780,8 @@
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template v-if="monitor.authMethod && monitor.authMethod !== null ">
|
<template v-if="monitor.authMethod && monitor.authMethod !== null ">
|
||||||
<template v-if="monitor.authMethod === 'mtls' ">
|
<template v-if="monitor.authMethod === 'mtls' ">
|
||||||
<div class="my-3">
|
<div class="my-3">
|
||||||
|
|
Loading…
Reference in a new issue