Do not show the loader during recordings api call

Showing the loader during the recordings API call will rerender the recordings list and rerenders the video player
This commit is contained in:
Peeter Normak 2023-05-02 22:27:25 +03:00
parent b38c9e82e2
commit fbd3169e7d

View File

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