Merge pull request '#5858 FIX render HTML' (!2237) from 5858_fix_zone-incldued_HTML into test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2237 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
d71b5a167e
|
@ -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