Browse Source

🐞 fix for EditMonitor value binding

pull/154/head^2
Philipp Dormann 4 years ago
parent
commit
77b83ddc44
No known key found for this signature in database GPG Key ID: 3BB9ADD52DCA4314
  1. 4
      src/pages/EditMonitor.vue

4
src/pages/EditMonitor.vue

@ -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) {

Loading…
Cancel
Save