Wait for recordingSummary and recordings to be valid before playing

This commit is contained in:
Nick Mowen 2022-07-29 06:59:10 -06:00
parent 37325c70ba
commit facbdc86f6

View File

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