Fix require-v-for-key, remove unused declarations and double spaces

This commit is contained in:
Adam Stachowicz 2021-07-18 03:10:15 +02:00
parent 78f5d2cd8b
commit d94894b7e0
10 changed files with 26 additions and 31 deletions

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 class="form-check form-switch mb-3" v-for="(notification, index) in $root.notificationList" :key="index">
<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">