mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
change unread badge to red
This commit is contained in:
parent
b6803b42c6
commit
1d591d5d2b
@ -698,9 +698,9 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement)
|
||||
${selectOption.label ?? selectOption.text}
|
||||
</span>
|
||||
${selectOption.unreadMessages ?
|
||||
html`
|
||||
<sl-badge pill>${selectOption.unreadMessages}</sl-badge>
|
||||
` : nothing}
|
||||
html`
|
||||
<sl-badge pill variant="danger">${selectOption.unreadMessages}</sl-badge>
|
||||
` : nothing}
|
||||
|
||||
${selectOption.children ? repeat(selectOption.children, this._optionTemplate) : (selectOption.item ? repeat(selectOption.item, this._optionTemplate) : nothing)}
|
||||
</sl-tree-item>`
|
||||
|
Loading…
Reference in New Issue
Block a user