Fixes for 2 code quality findings in admin_default theme (#3938)

* Apply suggested fix to src/themes/admin_default/html/mod_index_dashboard.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/themes/admin_default/html/mod_index_dashboard.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
Adam DaleyandCopilot Autofix powered by AI authored and GitHub committed 2026-07-07 08:23:48 +01:00
1 parent b1195d4b5d
commit 76aebab95a
1 file changed
+2 -2
@@ -413,7 +413,7 @@
</tr>
{% else %}
<tr>
<td class="text-muted" colspan="4">{{ 'The list is empty'|trans }}</td>
<td class="text-muted" colspan="3">{{ 'The list is empty'|trans }}</td>
</tr>
{% endfor %}
</tbody>
@@ -487,7 +487,7 @@
label: "{{ 'Income'|trans }}",
height: 112,
valueFormat: 'currency',
currency: "{{ currency.code ?: default_currency }}",
currency: "{{ currency.code|default('USD') }}",
}],
['chart-orders', {{ admin.stats_get_orders({ 'date_from': request.date_from, 'date_to': request.date_to })|json_encode }}, {
label: "{{ 'Orders'|trans }}",