Make usage of @capire/common optional

This commit is contained in:
Daniel
2021-02-17 12:29:40 +01:00
committed by Daniel Hutzel
parent b6f3914d79
commit 6de09e0940
3 changed files with 1 additions and 5 deletions

View File

@@ -36,7 +36,7 @@
<td class="rating-stars">
{{ ('★'.repeat(Math.round(book.rating))+'☆☆☆☆☆').slice(0,5) }}
</td>
<td>{{ book.currency.symbol }} {{ book.price }}</td>
<td>{{ book.currency && book.currency.symbol }} {{ book.price }}</td>
</tr>
</table>