fix: let's colored tags in listview (#25552)
This commit is contained in:
parent
141e082b39
commit
81833afda0
1 changed files with 1 additions and 1 deletions
|
|
@ -759,7 +759,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
|
|||
if (col.type === "Tag") {
|
||||
const tags_display_class = !this.tags_shown ? "hide" : "";
|
||||
let tags_html = doc._user_tags
|
||||
? this.get_tags_html(doc._user_tags, 2)
|
||||
? this.get_tags_html(doc._user_tags, 2, true)
|
||||
: '<div class="tags-empty">-</div>';
|
||||
return `
|
||||
<div class="list-row-col tag-col ${tags_display_class} hidden-xs ellipsis">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue