fix: escape on status image for workstations in production status (#58279)

This commit is contained in:
Diptanil Saha
2026-08-18 23:28:23 +05:30
committed by GitHub
parent a667cd7cc6
commit 25dfcb17c8

View File

@@ -451,7 +451,7 @@ def get_workstations(**kwargs):
for d in data:
d.workstation_name = get_link_to_form("Workstation", d.name)
d.status_image = d.on_status_image
d.status_image = frappe.utils.escape_html(d.on_status_image)
d.workstation_off = ""
d.color = color_map.get(d.status, "red")
d.workstation_link = get_url_to_form("Workstation", d.name)