v0.3.3 bug fixes

This commit is contained in:
2026-03-09 15:39:42 -04:00
parent 31f61cc056
commit c192c4d7a1
8 changed files with 76 additions and 8 deletions

View File

@@ -106,7 +106,7 @@ export default function Sidebar({ groups, activeGroupId, onSelectGroup, notifica
</div>
<div className="flex items-center justify-between gap-2">
<span className="group-last-msg truncate">
{group.last_message || (group.is_readonly ? '📢 Read-only' : 'No messages yet')}
{(group.last_message || '').replace(/@\[([^\]]+)\]\(\d+\)/g, '@$1') || (group.is_readonly ? '📢 Read-only' : 'No messages yet')}
</span>
{notifs > 0 && <span className="badge shrink-0">{notifs}</span>}
{hasUnread && notifs === 0 && <span className="badge badge-unread shrink-0">{unreadCount}</span>}