mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
reverse sort events within hour
This commit is contained in:
parent
46fe06e779
commit
d74021af47
@ -35,7 +35,7 @@ export default function RecordingPlaylist({ camera, recordings, selectedDate, se
|
|||||||
</div>
|
</div>
|
||||||
<div className="flex-1 text-right">{item.events.length} Events</div>
|
<div className="flex-1 text-right">{item.events.length} Events</div>
|
||||||
</div>
|
</div>
|
||||||
{item.events.map((event) => (
|
{item.events.slice().reverse().map((event) => (
|
||||||
<EventCard camera={camera} event={event} delay={item.delay} />
|
<EventCard camera={camera} event={event} delay={item.delay} />
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user