Fixed renderer warnings

This commit is contained in:
Sebin Nyshkim 2019-11-05 22:05:21 +01:00
parent 3f38eb35d1
commit 430d087a2d

View file

@ -8,15 +8,15 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr v-for="tuple in dataset.data" :key="tuple"> <tr v-for="(tuple, rowNo) in dataset.data" :key="rowNo">
<template v-for="(item, index) in tuple"> <template v-for="(item, index) in tuple">
<td :key="item" v-if="index === 1 && !isHexValue(item)" colspan="2"> <td :key="index" v-if="index === 1 && !isHexValue(item)" colspan="2">
{{ item }} {{ item }}
</td> </td>
<td :key="item" v-else>{{ item }}</td> <td :key="item[0]" v-else>{{ item }}</td>
<td <td
:key="item"
v-if="isHexValue(item)" v-if="isHexValue(item)"
:key="item[1]"
:style="'background-color:' + item" :style="'background-color:' + item"
></td> ></td>
</template> </template>