diff client/src/bottlenecks/Bottlenecks.vue @ 1060:c9badb264d16

client: fix eslint issues.
author Bernhard Reiter <bernhard@intevation.de>
date Thu, 25 Oct 2018 20:55:03 +0200
parents 1ff8c072df18
children c58608084c11
line wrap: on
line diff
--- a/client/src/bottlenecks/Bottlenecks.vue	Thu Oct 25 15:05:20 2018 +0200
+++ b/client/src/bottlenecks/Bottlenecks.vue	Thu Oct 25 20:55:03 2018 +0200
@@ -9,7 +9,8 @@
             <hr class="mb-0">
             <div style="max-height: 500px; overflow-y: scroll">
                 <table class="table text-left mb-0" style="margin-top: -1px;">
-                    <tr v-for="(bottleneck, index) in bottlenecks">
+                    <tr v-for="(bottleneck) in bottlenecks"
+                        :key="bottleneck.name">
                         <td>
                             <a href="#" class="d-block" @click="moveToBottleneck(bottleneck)">
                                 {{ bottleneck.name }}
@@ -104,7 +105,7 @@
 
 .bottlenecksextended {
   min-height: $sidebar-height;
-  width: 500px
+  width: 500px;
 }
 
 .close-bottlenecks {
@@ -121,5 +122,4 @@
 .bottlenecksextended .close-bottlenecks {
   display: block;
 }
-
 </style>