fix: twig assign-case

* add number of cases to user list
This commit is contained in:
Ryan Prather 2025-01-21 14:36:46 -05:00
parent a47a5e8adb
commit 610cccc191

View File

@ -32,7 +32,7 @@
<option value=''></option>
{% for w in caseWorkers %}
{% set selected = (w.id == assignedWorkerId) %}
<option value='{{ w.id }}' {% if selected %} selected="true" {% endif %}>{{ w.name }}</option>
<option value='{{ w.id }}' {% if selected %} selected="true" {% endif %}>{{ w.name }} ({{ w.userCases|length }})</option>
{% endfor %}
</select>
</div>