reverse sort within a day for recordings

This commit is contained in:
Blake Blackshear 2021-08-27 07:26:11 -05:00
parent 4efc584816
commit 3d6dad7e7e

View File

@ -21,7 +21,7 @@ export default function RecordingPlaylist({ camera, recordings, selectedDate, se
events={recording.events} events={recording.events}
selected={recording.date === selectedDate} selected={recording.date === selectedDate}
> >
{recording.recordings.map((item, i) => ( {recording.recordings.slice().reverse().map((item, i) => (
<div className="mb-2 w-full"> <div className="mb-2 w-full">
<div <div
className={`flex w-full text-md text-white px-8 py-2 mb-2 ${ className={`flex w-full text-md text-white px-8 py-2 mb-2 ${