fix(edit-monitor): remove keyword inputfield and status code prop

This commit is contained in:
Bert Verhelst 2021-10-05 10:27:23 +02:00
parent 7d4928a26f
commit 803e325c60

View file

@ -51,15 +51,6 @@
</div>
</div>
<!-- Keyword -->
<div v-if="monitor.type === 'keyword' " class="my-3">
<label for="keyword" class="form-label">{{ $t("Keyword") }}</label>
<input id="keyword" v-model="monitor.keyword" type="text" class="form-control" required>
<div class="form-text">
{{ $t("keywordDescription") }}
</div>
</div>
<!-- TCP Port / Ping / DNS only -->
<div v-if="monitor.type === 'port' || monitor.type === 'ping' || monitor.type === 'dns' " class="my-3">
<label for="hostname" class="form-label">{{ $t("Hostname") }}</label>
@ -340,7 +331,7 @@ export default {
ignoreTls: false,
upsideDown: false,
maxredirects: 10,
accepted_statuscodes: ["200-299"],
checks: [],
dns_resolve_type: "A",
dns_resolve_server: "1.1.1.1",
};