Don't show unread on system folders

This commit is contained in:
djmaze 2021-09-01 09:43:53 +02:00
parent bafc74fd09
commit 671a7a7002
2 changed files with 3 additions and 3 deletions

View file

@ -158,7 +158,7 @@
background-color: @grayLight;
border-radius: 9px;
color: @white;
font-size: 80%;
font-size: 11px;
line-height: 19px;
margin-top: 5px;
min-width: 1em;
@ -166,7 +166,7 @@
text-align: center;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
position: absolute;
right: 0;
right: 3px;
}
.flag-icon {

View file

@ -1,6 +1,6 @@
<li data-bind="visible: visible">
<a data-bind="dropmessages: $data,
css: { 'selected': selected() && !isSystemFolder(), 'selectable': canBeSelected, 'hidden' : hidden, 'unread-sub': hasSubscribedUnreadMessagesSubfolders, 'anim-action-class': actionBlink },
css: { 'selected': selected() && !isSystemFolder(), 'system': isSystemFolder, 'selectable': canBeSelected, 'hidden' : hidden, 'unread-sub': hasSubscribedUnreadMessagesSubfolders, 'anim-action-class': actionBlink },
attr: { 'data-unread': printableUnreadCount }">
<i data-bind="css: collapsedCss()"></i>
<!-- ko text: name --><!-- /ko -->