fix(minor): workflow state indicator (#21508)
In List view only `Status` type was considered for indicator. Added fields with `Workflow State` as options
This commit is contained in:
parent
2fa7f8350c
commit
814265d245
1 changed files with 1 additions and 1 deletions
|
|
@ -711,7 +711,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
|
|||
}
|
||||
|
||||
get_column_html(col, doc) {
|
||||
if (col.type === "Status") {
|
||||
if (col.type === "Status" || col.df?.options == "Workflow State") {
|
||||
return `
|
||||
<div class="list-row-col hidden-xs ellipsis">
|
||||
${this.get_indicator_html(doc)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue