From c7f43279201fce42e6ed5b672f5e2845cdfdccf5 Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Tue, 12 Jan 2021 18:05:30 -0500 Subject: [PATCH] landscape: pass contact to profile overlay --- pkg/interface/src/views/components/MentionText.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interface/src/views/components/MentionText.tsx b/pkg/interface/src/views/components/MentionText.tsx index f08e13d52..eb4fbb344 100644 --- a/pkg/interface/src/views/components/MentionText.tsx +++ b/pkg/interface/src/views/components/MentionText.tsx @@ -44,7 +44,7 @@ export function Mention(props: { const { contacts, ship } = props; let { contact } = props; - contact = (contact?.nickname) ? contact : contacts?.[ship]; + contact = (contact?.color) ? contact : contacts?.[ship]; const showNickname = useShowNickname(contact);