Browse Source

add missing v-bind:key in EditMonitor

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

2
src/pages/EditMonitor.vue

@ -61,7 +61,7 @@
<h2>Notifications</h2> <h2>Notifications</h2>
<p v-if="$root.notificationList.length === 0">Not available, please setup.</p> <p v-if="$root.notificationList.length === 0">Not available, please setup.</p>
<div class="form-check form-switch mb-3" v-for="notification in $root.notificationList"> <div v-bind:key="notification.id" class="form-check form-switch mb-3" v-for="notification in $root.notificationList">
<input class="form-check-input" type="checkbox" :id=" 'notification' + notification.id" v-model="monitor.notificationIDList[notification.id]"> <input class="form-check-input" type="checkbox" :id=" 'notification' + notification.id" v-model="monitor.notificationIDList[notification.id]">
<label class="form-check-label" :for=" 'notification' + notification.id"> <label class="form-check-label" :for=" 'notification' + notification.id">

Loading…
Cancel
Save