Skip to content

Commit

Permalink
refactor after reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
asliayk committed Oct 19, 2024
1 parent 1333aed commit 8ab243c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
class="small text-truncate me-2"
[title]="sidebarItem.title"
[class.muted]="sidebarItem.conversation?.isMuted"
[ngClass]="unreadCount && unreadCount > 0 ? 'fw-bold' : 'fw-semibold'"
[ngClass]="unreadCount > 0 ? 'fw-bold' : 'fw-semibold'"
>
@if (sidebarItem.icon) {
<fa-icon [fixedWidth]="true" [icon]="sidebarItem.icon" />
Expand All @@ -64,7 +64,7 @@
<fa-icon [fixedWidth]="true" [icon]="sidebarItem.rightIcon" />
}
</span>
@if (unreadCount && unreadCount > 0) {
@if (unreadCount > 0) {
<span class="unread-count">{{ formattedUnreadCount }}</span>
}
</div>
Expand Down

0 comments on commit 8ab243c

Please sign in to comment.