Commit 97729015 authored by Filipa Lacerda's avatar Filipa Lacerda

[ci skip] Render separator only when both values are present

parent 33346d48
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
]), ]),
layers(item) { layers(item) {
return n__('%d layer', '%d layers', item.layers); return item.layers ? n__('%d layer', '%d layers', item.layers) : '';
}, },
handleDeleteRegistry(registry) { handleDeleteRegistry(registry) {
...@@ -98,7 +98,9 @@ ...@@ -98,7 +98,9 @@
</td> </td>
<td> <td>
{{item.size}} {{item.size}}
&middot; <template v-if="item.size && item.layers">
&middot;
</template>
{{layers(item)}} {{layers(item)}}
</td> </td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment