change unread badge to red

This commit is contained in:
milan 2024-03-07 14:18:55 +01:00
parent b6803b42c6
commit 1d591d5d2b

View File

@ -699,7 +699,7 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement)
</span> </span>
${selectOption.unreadMessages ? ${selectOption.unreadMessages ?
html` html`
<sl-badge pill>${selectOption.unreadMessages}</sl-badge> <sl-badge pill variant="danger">${selectOption.unreadMessages}</sl-badge>
` : nothing} ` : nothing}
${selectOption.children ? repeat(selectOption.children, this._optionTemplate) : (selectOption.item ? repeat(selectOption.item, this._optionTemplate) : nothing)} ${selectOption.children ? repeat(selectOption.children, this._optionTemplate) : (selectOption.item ? repeat(selectOption.item, this._optionTemplate) : nothing)}