Merge pull request '5858_fix_zone-incldued_HTML' (!2245) from 5858_fix_zone-incldued_HTML into master
Reviewed-on: #2245 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
0ef2166004
|
@ -18,7 +18,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="zone in zoneCollisions">
|
<tr v-for="zone in zones" v-bind:key="zone.zoneFk">
|
||||||
<td>{{ zone.zn.name }}</td>
|
<td>{{ zone.zn.name }}</td>
|
||||||
<td>{{ zone.zoneFk }}</td>
|
<td>{{ zone.zoneFk }}</td>
|
||||||
<td>{{ zone.z.price }}</td>
|
<td>{{ zone.z.price }}</td>
|
||||||
|
|
|
@ -8,5 +8,10 @@ module.exports = {
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
zoneCollisions: {type: Array, required: true}
|
zoneCollisions: {type: Array, required: true}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
zones() {
|
||||||
|
return JSON.parse(this.zoneCollisions);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue