mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
remove now playing because I do not handle autoadvance properly yet
This commit is contained in:
parent
dc8ba5239d
commit
a3cfbb6722
@ -28,18 +28,11 @@ export default function RecordingPlaylist({ camera, recordings, selectedDate, se
|
||||
i === 0 ? 'border-t border-white border-opacity-50' : ''
|
||||
}`}
|
||||
>
|
||||
{selectedDate === recording.date && selectedHour === item.hour ? (
|
||||
<Fragment>
|
||||
<div className="flex-1 text-green-500">{item.hour}:00</div>
|
||||
<div className="flex-1 text-green-500">Now Playing</div>
|
||||
</Fragment>
|
||||
) : (
|
||||
<div className="flex-1">
|
||||
<Link href={`/recordings/${camera}/${recording.date}/${item.hour}`} type="text">
|
||||
{item.hour}:00
|
||||
</Link>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex-1">
|
||||
<Link href={`/recordings/${camera}/${recording.date}/${item.hour}`} type="text">
|
||||
{item.hour}:00
|
||||
</Link>
|
||||
</div>
|
||||
<div className="flex-1 text-right">{item.events.length} Events</div>
|
||||
</div>
|
||||
{item.events.map((event) => (
|
||||
|
Loading…
Reference in New Issue
Block a user