From 9864d555f2e19704fbddfee0b7cb34d312199331 Mon Sep 17 00:00:00 2001 From: nitsua Date: Sat, 26 Sep 2020 12:18:35 -0400 Subject: [PATCH] Fixed: Grouping of movies on the same date in the calendar agenda view (#5068) --- frontend/src/Calendar/Agenda/AgendaEvent.js | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/frontend/src/Calendar/Agenda/AgendaEvent.js b/frontend/src/Calendar/Agenda/AgendaEvent.js index e7115dee7..31c584d8b 100644 --- a/frontend/src/Calendar/Agenda/AgendaEvent.js +++ b/frontend/src/Calendar/Agenda/AgendaEvent.js @@ -92,18 +92,15 @@ class AgendaEvent extends Component { )} to={link} > - { - showDate && -
-
- -
- {startTime.format(longDateFormat)} -
- } +
+
+ +
+ {(showDate) ? startTime.format(longDateFormat) : null} +