From eab0f60734192dfc030610d32d8cd1cc12abb757 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Wed, 21 May 2025 16:29:21 +0200 Subject: [PATCH] ui: hide empty dates from kai chats list --- frontend/app/components/Kai/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Kai/utils.ts b/frontend/app/components/Kai/utils.ts index 691ad785f..ea581217e 100644 --- a/frontend/app/components/Kai/utils.ts +++ b/frontend/app/components/Kai/utils.ts @@ -32,5 +32,5 @@ export function splitByDate(entries: { datetime: string }[]) { } }); - return result; + return result.filter((r) => r.entries.length > 0); }