[FIX] PMS: Employee keyresult value error on self objectives tab is fixed

This commit is contained in:
Horilla
2024-09-12 14:12:48 +05:30
parent f19edb987a
commit 2aafde532e

View File

@@ -484,7 +484,7 @@
</div>
<div data-cell-index="2" class="oh-sticky-table__td">
{% for kr in objective.key_result_id.all %}
{% for kr in objective.employee_key_result.all %}
<span class="oh-user-panel oh-collapse-panel" data-type="user">
<div class="oh-profile oh-profile--md">
<div class="oh-profile__avatar mr-1">
@@ -500,7 +500,7 @@
</div>
</span>
{% endfor %}
<span class="count-span">{{objective.key_result_id.all|length}} {% trans "Key results" %}</span>
<span class="count-span">{{objective.employee_key_result.all|length}}{% trans "Key results" %}</span>
</div>