Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Fix author name display in mobile note page

François Zaninotto90d1ab66a436
diff --git a/src/components/atomic-crm/notes/NoteShowPage.tsx b/src/components/atomic-crm/notes/NoteShowPage.tsx
index 0a064161..1f244db8 100644
--- a/src/components/atomic-crm/notes/NoteShowPage.tsx
+++ b/src/components/atomic-crm/notes/NoteShowPage.tsx
@@ -90,12 +90,7 @@ export const NoteShowPage = () => {
<div className="mb-4">
<div className="flex items-center space-x-2 w-full text-sm text-muted-foreground">
<span>
- {translate(
- isCurrentUser
- ? "resources.notes.you_added"
- : "resources.notes.author_added",
- { name: salesName },
- )}{" "}
+ {isCurrentUser ? translate("resources.notes.me") : salesName}{" "}
</span>
{note.status && <Status status={note.status} />}
<div className="flex-1" />