[ci skip] Render separator only when both values are present
This commit is contained in:
parent
33346d4845
commit
9772901587
|
@ -38,7 +38,7 @@
|
|||
]),
|
||||
|
||||
layers(item) {
|
||||
return n__('%d layer', '%d layers', item.layers);
|
||||
return item.layers ? n__('%d layer', '%d layers', item.layers) : '';
|
||||
},
|
||||
|
||||
handleDeleteRegistry(registry) {
|
||||
|
@ -98,7 +98,9 @@
|
|||
</td>
|
||||
<td>
|
||||
{{item.size}}
|
||||
·
|
||||
<template v-if="item.size && item.layers">
|
||||
·
|
||||
</template>
|
||||
{{layers(item)}}
|
||||
</td>
|
||||
|
||||
|
|
Loading…
Reference in New Issue