diff --git a/app/templates/components/table.html b/app/templates/components/table.html index 62f74e851..393e6282e 100644 --- a/app/templates/components/table.html +++ b/app/templates/components/table.html @@ -135,10 +135,11 @@ {% macro spark_bar_field( count, - max_count + max_count, + id=None ) %} {% call field(align='right') %} - + {{ big_number( count, diff --git a/app/templates/views/dashboard/template-statistics.html b/app/templates/views/dashboard/template-statistics.html index 9f3e0fab7..2c3833655 100644 --- a/app/templates/views/dashboard/template-statistics.html +++ b/app/templates/views/dashboard/template-statistics.html @@ -25,7 +25,7 @@ {% endcall %} {% if template_statistics|length > 1 %} - {{ spark_bar_field(item.count, most_used_template_count) }} + {{ spark_bar_field(item.count, most_used_template_count, id=item.template_id) }} {% else %} {% call field() %}