mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-16 03:40:06 +02:00
Remove author's name from announcement display
Removes the author's name and displays only the group name for announcements in the AnnouncementCard component. Replit-Commit-Author: Agent Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/IUa1wDz
This commit is contained in:
1 parent
a75f7b66c4
commit
95710e690b
2 files changed
+6
-5
No files matched your search
@@ -323,10 +323,11 @@ export default function AnnouncementCard() {
|
||||
{announcement.content && (
|
||||
<p className="text-sm text-gray-600 leading-relaxed whitespace-pre-wrap break-words">{announcement.content}</p>
|
||||
)}
|
||||
<p className="text-xs text-gray-500 mt-1">
|
||||
{announcement.author?.firstName} {announcement.author?.lastName}
|
||||
{announcement.group && ` • ${announcement.group.name}`}
|
||||
</p>
|
||||
{announcement.group && (
|
||||
<p className="text-xs text-gray-500 mt-1">
|
||||
{announcement.group.name}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-right flex items-center space-x-2">
|
||||
|
||||
Reference in new issue
Block a user