diff --git a/components/Dashboard/Links.tsx b/components/Dashboard/Links.tsx index 0edb38e..8ad1757 100644 --- a/components/Dashboard/Links.tsx +++ b/components/Dashboard/Links.tsx @@ -98,8 +98,8 @@ export default function Links() { return false; } - // if I am the sender, then also show - if (link.createdByUserId == currUser.uid) { + // if I am the sender, then also show, but only if it's me sending to a specific person + if (link.createdByUserId == currUser.uid && link.recipients?.length > 0) { return true; } @@ -222,7 +222,7 @@ export default function Links() { {/* table of links */} -