From b6c86af700ea040932ebaa8eed651eb27884ead1 Mon Sep 17 00:00:00 2001 From: Thomas Draier Date: Tue, 26 Nov 2024 17:47:23 +0100 Subject: [PATCH] skip label display for empty groups --- .../src/components/conversation/ConversationsListButton.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extension/app/src/components/conversation/ConversationsListButton.tsx b/extension/app/src/components/conversation/ConversationsListButton.tsx index e96067940417..6660e3d33879 100644 --- a/extension/app/src/components/conversation/ConversationsListButton.tsx +++ b/extension/app/src/components/conversation/ConversationsListButton.tsx @@ -86,7 +86,9 @@ const Content = () => { {Object.keys(conversationsByDate).map((dateLabel) => ( <> - + {conversationsByDate[dateLabel as GroupLabel].length > 0 && ( + + )} {conversationsByDate[dateLabel as GroupLabel].map((conversation) => (