Accepted Status Codes / Max Redirects for http/keyword only

This commit is contained in:
LouisLam 2021-08-09 02:01:08 +08:00
parent f9cb8293f3
commit 6f489e7e0f

View File

@ -84,7 +84,7 @@
</div> </div>
</div> </div>
<div class="my-3"> <div v-if="monitor.type === 'http' || monitor.type === 'keyword' " class="my-3">
<label for="maxRedirects" class="form-label">Max. Redirects</label> <label for="maxRedirects" class="form-label">Max. Redirects</label>
<input id="maxRedirects" v-model="monitor.maxredirects" type="number" class="form-control" required min="0" step="1"> <input id="maxRedirects" v-model="monitor.maxredirects" type="number" class="form-control" required min="0" step="1">
<div class="form-text"> <div class="form-text">
@ -92,7 +92,7 @@
</div> </div>
</div> </div>
<div class="my-3"> <div v-if="monitor.type === 'http' || monitor.type === 'keyword' " class="my-3">
<label for="acceptedStatusCodes" class="form-label">Accepted Status Codes</label> <label for="acceptedStatusCodes" class="form-label">Accepted Status Codes</label>
<VueMultiselect <VueMultiselect