From 883b6dc68b88232b176ac46aa73ba662396f0dc5 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Wed, 24 Aug 2022 20:48:51 -0600 Subject: [PATCH] Fix tests to include camera name --- web/config/handlers.js | 1 + web/src/routes/Events.jsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/config/handlers.js b/web/config/handlers.js index 59a1649d1..0166d0c3a 100644 --- a/web/config/handlers.js +++ b/web/config/handlers.js @@ -68,6 +68,7 @@ export const handlers = [ top_score: Math.random(), zones: ['front_patio'], thumbnail: '/9j/4aa...', + camera: 'camera_name', })) ) ); diff --git a/web/src/routes/Events.jsx b/web/src/routes/Events.jsx index db894bede..b93d661e4 100644 --- a/web/src/routes/Events.jsx +++ b/web/src/routes/Events.jsx @@ -461,7 +461,7 @@ export default function Events({ path, ...props }) {
- {event.zones.join(',').replaceAll('_', ' ')} + {event.zones.join(', ').replaceAll('_', ' ')}