fix: Fix thumbnail rendering issues (#2058)

- Closes #2054
This commit is contained in:
Dermot Duffy authored and GitHub committed 2025-05-22 21:21:04 -07:00
1 parent 95c926e237
commit c342c5d529
6 files changed
+45 -26

No files matched your search

@@ -135,8 +135,12 @@ export class ThumbnailDetailsController {
: []),
];
// To avoid duplication, if the event already has a structured 'what' and a
// starttime, the title is omitted from the details.
const includeTitle =
!ViewItemClassifier.isEvent(item) || !item?.getWhat()?.length || !startTime;
this._details = [
...(itemTitle
...(includeTitle && itemTitle
? [
{
title: itemTitle,