From 2fe3b2bac4cca9afa57f484a60f3dad928b75705 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 12 Mar 2022 07:40:40 -0700 Subject: [PATCH] Update naming in web --- web/src/routes/Cameras.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/routes/Cameras.jsx b/web/src/routes/Cameras.jsx index da98d043b..b317adfff 100644 --- a/web/src/routes/Cameras.jsx +++ b/web/src/routes/Cameras.jsx @@ -17,8 +17,8 @@ export default function Cameras() { ) : (
{Object.entries(config.cameras) - .filter(([_, conf]) => conf.gui.show) - .sort(([_, aConf], [__, bConf]) => aConf.gui.order === bConf.gui.order ? 0 : (aConf.gui.order > bConf.gui.order ? 1 : -1)) + .filter(([_, conf]) => conf.ui.show) + .sort(([_, aConf], [__, bConf]) => aConf.ui.order === bConf.ui.order ? 0 : (aConf.ui.order > bConf.ui.order ? 1 : -1)) .map(([camera, conf]) => ( ))}