diff --git a/changedetectionio/blueprint/watchlist/templates/watch-overview.html b/changedetectionio/blueprint/watchlist/templates/watch-overview.html index 133f2a06f..e6ecab17f 100644 --- a/changedetectionio/blueprint/watchlist/templates/watch-overview.html +++ b/changedetectionio/blueprint/watchlist/templates/watch-overview.html @@ -304,12 +304,13 @@ html[data-darkmode="true"] .watch-tag-list.tag-{{ class_name }} { {%- endif -%} - {%- if watch.get('restock') and watch['restock']['price'] != None -%} - {%- if watch['restock']['price'] != None -%} + {%- if watch.get('restock') and watch['restock'].get('price') -%} + {%- if watch['restock']['price'] is number -%} {{ watch['restock']['price']|format_number_locale if watch['restock'].get('price') else '' }} {{ watch['restock'].get('currency','') }} - {%- endif -%} + {%- else -%} + {%- endif -%} {%- elif not watch.has_restock_info -%} {{ _('No information') }} {%- endif -%}