1
0
forked from test/crm

fix: set 50px as default width of liked_by column

This commit is contained in:
Shariq Ansari 2024-05-22 21:10:04 +05:30
parent bcd1cffa95
commit ca5f542d92

View File

@ -215,6 +215,9 @@ def get_list_data(
rows.append(column.get("key"))
column["label"] = _(column.get("label"))
if column.get("key") == "_liked_by" and column.get("width") == "10rem":
column["width"] = "50px"
data = frappe.get_list(
doctype,
fields=rows,