From 2d5d3bdaf4c9846ace15ae5d14b471178810f5a5 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 13 Aug 2022 05:46:08 -0600 Subject: [PATCH] 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 --- web/src/routes/Recording.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/Recording.jsx b/web/src/routes/Recording.jsx index 1f592d469..8f81dde7d 100644 --- a/web/src/routes/Recording.jsx +++ b/web/src/routes/Recording.jsx @@ -103,7 +103,7 @@ export default function Recording({ camera, date, hour = '00', minute = '00', se } }, [seekSeconds, playlistIndex]); - if (!recordingsSummary) { + if (!recordingsSummary || !recordings) { return ; }