Fix null pointer

This commit is contained in:
James Cole
2022-04-03 14:43:06 +02:00
parent 789dba7cf9
commit 19d4b6ba86

View File

@@ -93,7 +93,7 @@
{% endif %}
</td>
<td class="hidden-sm hidden-xs" style="text-align:right;">
{% if piggy.target_date %}
{% if piggy.target_date and piggy.save_per_month %}
{{ formatAmountBySymbol(piggy.save_per_month, piggy.currency_symbol, piggy.currency_decimal_places) }}
{% endif %}
</td>