ui: hide empty dates from kai chats list

This commit is contained in:
nick-delirium 2025-05-21 16:29:21 +02:00
parent f3f7992c0a
commit eab0f60734
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -32,5 +32,5 @@ export function splitByDate(entries: { datetime: string }[]) {
}
});
return result;
return result.filter((r) => r.entries.length > 0);
}