Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web: show event date/duration on mobile
Issue: - when you go inside a calendar event on mobile, you can't see its time and duration Steps To Reproduce: - In mobile view, go to calendar and create an event. - Click on the event and notice you can't see it's time and duration. Solution: - We were unable to view the date time, and duration because, in the `computeDateTimeAndDuration` function, the record's `isTimeHidden` attribute is set to True. - This was set in the `normalizeRecord` function, where we return 'isTimeHidden: isTimeHidden || !showTime'. - To resolve this issue we take into account `isSmall` in the `showTime` boolean to ensure it functions correctly on mobile devices. opw-3829004
- Loading branch information