Wait for recordingSummary and recordings to be valid before playing

This commit is contained in:
Nick Mowen 2022-07-29 07:01:47 -06:00
parent facbdc86f6
commit e4ff64d0be

View File

@ -103,7 +103,7 @@ export default function Recording({ camera, date, hour = '00', minute = '00', se
}
}, [seekSeconds, playlistIndex]);
if (!recordingsSummary || !recording) {
if (!recordingsSummary || !recordings) {
return <ActivityIndicator />;
}