Wait for recordingSummary and recordings to be valid before playing (#3558)

* Wait for recordingSummary and recordings to be valid before playing

* Wait for recordingSummary and recordings to be valid before playing
This commit is contained in:
Nicolas Mowen
2022-08-13 05:46:08 -06:00
committed by GitHub
parent 3376e85be6
commit 2d5d3bdaf4

View File

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