feat: add share indicators for calendars and contacts, update JMAP capabilities #244
This commit is contained in:
@@ -685,7 +685,13 @@ function AddressBookItem({
|
||||
>
|
||||
<Book className="w-4 h-4 flex-shrink-0" />
|
||||
<span className="truncate">{book.name}</span>
|
||||
<span className="ml-auto text-xs text-muted-foreground tabular-nums">
|
||||
{!book.isShared && Object.keys(book.shareWith || {}).length > 0 && (
|
||||
<Users className="w-3 h-3 text-muted-foreground flex-shrink-0 ml-auto" />
|
||||
)}
|
||||
<span className={cn(
|
||||
"text-xs text-muted-foreground tabular-nums",
|
||||
!(!book.isShared && Object.keys(book.shareWith || {}).length > 0) && "ml-auto"
|
||||
)}>
|
||||
{contactCount}
|
||||
</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user