🐞 fix for EditMonitor value binding

This commit is contained in:
Philipp Dormann 2021-07-14 11:43:15 +02:00
parent 3d5be4c07f
commit 77b83ddc44
No known key found for this signature in database
GPG key ID: 3BB9ADD52DCA4314

View file

@ -45,7 +45,7 @@
<div class="mb-3"> <div class="mb-3">
<label for="interval" class="form-label">Heartbeat Interval (Every {{ monitor.interval }} seconds)</label> <label for="interval" class="form-label">Heartbeat Interval (Every {{ monitor.interval }} seconds)</label>
<input type="number" class="form-control" id="interval" v-model="monitor.interval" required min="1" step="1" value="20"> <input type="number" class="form-control" id="interval" v-model="monitor.interval" required min="1" step="1">
</div> </div>
<div> <div>
@ -118,7 +118,7 @@ export default {
type: "http", type: "http",
name: "", name: "",
url: "https://", url: "https://",
interval: 60, interval: 20,
notificationIDList: {}, notificationIDList: {},
} }
} else if (this.isEdit) { } else if (this.isEdit) {