add missing v-bind:key in EditMonitor

This commit is contained in:
Philipp Dormann 2021-07-14 11:33:08 +02:00
parent 49be12cad6
commit 3d5be4c07f
No known key found for this signature in database
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -61,7 +61,7 @@
<h2>Notifications</h2>
<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]">
<label class="form-check-label" :for=" 'notification' + notification.id">