From 1d591d5d2be0d25f2bdea14ab34784f9ca1b8253 Mon Sep 17 00:00:00 2001 From: milan Date: Thu, 7 Mar 2024 14:18:55 +0100 Subject: [PATCH] change unread badge to red --- api/js/etemplate/Et2Tree/Et2Tree.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/js/etemplate/Et2Tree/Et2Tree.ts b/api/js/etemplate/Et2Tree/Et2Tree.ts index 598a961ef7..0a45d4682d 100644 --- a/api/js/etemplate/Et2Tree/Et2Tree.ts +++ b/api/js/etemplate/Et2Tree/Et2Tree.ts @@ -698,9 +698,9 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) ${selectOption.label ?? selectOption.text} ${selectOption.unreadMessages ? - html` - ${selectOption.unreadMessages} - ` : nothing} + html` + ${selectOption.unreadMessages} + ` : nothing} ${selectOption.children ? repeat(selectOption.children, this._optionTemplate) : (selectOption.item ? repeat(selectOption.item, this._optionTemplate) : nothing)} `