fix: format workstation link correctly

This commit is contained in:
sokumon
2025-10-09 13:01:46 +05:30
parent 94c45d1db3
commit b48bff2029

View File

@@ -5,7 +5,7 @@
<span class="workstation-status-title" style="font-size:10px">{{row.status}}</span>
</span>
</div>
<div class="workstation-image {{row.workstation_off}}" onclick="location.href='{{row.workstation_link}}'">
<div class="workstation-image {{row.workstation_off}}" onclick="location.href='{{ frappe.utils.get_form_link('Workstation', row.name)}}'">
<div class="workstation-image-container flex items-center justify-center h-32 border-b-grey text-6xl text-grey-100">
{% if(row.status_image) { %}
<img class="workstation-image-cls" src="{{row.status_image}}">