forked from Github/frigate
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:
@@ -103,7 +103,7 @@ export default function Recording({ camera, date, hour = '00', minute = '00', se
|
|||||||
}
|
}
|
||||||
}, [seekSeconds, playlistIndex]);
|
}, [seekSeconds, playlistIndex]);
|
||||||
|
|
||||||
if (!recordingsSummary) {
|
if (!recordingsSummary || !recordings) {
|
||||||
return <ActivityIndicator />;
|
return <ActivityIndicator />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user