Apply suggestion from @CommanderStorm
This commit is contained in:
parent
cbb315667e
commit
ac6b75c57d
@ -1496,33 +1496,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="
|
||||
monitor.type === 'http' ||
|
||||
monitor.type === 'keyword' ||
|
||||
monitor.type === 'json-query'
|
||||
"
|
||||
class="my-3"
|
||||
>
|
||||
<div class="form-check">
|
||||
<input
|
||||
id="saveResponse"
|
||||
v-model="monitor.saveResponse"
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
/>
|
||||
<label class="form-check-label" for="saveResponse">
|
||||
{{ $t("saveResponseForNotifications") }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-text">
|
||||
<i18n-t keypath="saveResponseDescription" tag="div" class="form-text">
|
||||
<template #templateVariable>
|
||||
<code>heartbeatJSON.response</code>
|
||||
</template>
|
||||
</i18n-t>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="
|
||||
@ -1551,6 +1524,34 @@
|
||||
</i18n-t>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="
|
||||
monitor.type === 'http' ||
|
||||
monitor.type === 'keyword' ||
|
||||
monitor.type === 'json-query'
|
||||
"
|
||||
class="my-3"
|
||||
>
|
||||
<div class="form-check">
|
||||
<input
|
||||
id="saveResponse"
|
||||
v-model="monitor.saveResponse"
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
/>
|
||||
<label class="form-check-label" for="saveResponse">
|
||||
{{ $t("saveResponseForNotifications") }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-text">
|
||||
<i18n-t keypath="saveResponseDescription" tag="div" class="form-text">
|
||||
<template #templateVariable>
|
||||
<code>heartbeatJSON.response</code>
|
||||
</template>
|
||||
</i18n-t>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="
|
||||
|
||||
Loading…
Reference in New Issue
Block a user