Skip to content

Commit

Permalink
do not show event end time
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterjm authored and blakeblackshear committed Jun 5, 2021
1 parent a3cfbb6 commit 4a45b6e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions web/src/components/RecordingPlaylist.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ export function EventCard({ camera, event, delay }) {
<div className="flex flex-row items-center">
<div className="flex-1">
<div className="text-2xl text-white leading-tight capitalize">{event.label}</div>
<div className="text-sm md:text-normal text-gray-300">
{format(start, 'HH:mm:ss')} - {format(end, 'HH:mm:ss')}
</div>
<div className="text-sm md:text-normal text-gray-300">Duration: {format(duration, 'mm:ss')}</div>
<div className="text-xs md:text-normal text-gray-300">Start: {format(start, 'HH:mm:ss')}</div>
<div className="text-xs md:text-normal text-gray-300">Duration: {format(duration, 'mm:ss')}</div>
</div>
<div className="text-lg text-white text-right leading-tight">{(event.top_score * 100).toFixed(1)}%</div>
</div>
Expand Down

0 comments on commit 4a45b6e

Please sign in to comment.