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,
|
||||
|
||||
Reference in new issue
Block a user