From 355b4dee95b5b4dcfb633e1de3a76888e3c8cc29 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 12 Mar 2022 07:40:13 -0700 Subject: [PATCH] Update naming in web --- web/src/Sidebar.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/Sidebar.jsx b/web/src/Sidebar.jsx index fb4aef4cb..aa7ad4d6d 100644 --- a/web/src/Sidebar.jsx +++ b/web/src/Sidebar.jsx @@ -22,8 +22,8 @@ export default function Sidebar() { {Object.entries(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]) => ( ))} @@ -39,7 +39,7 @@ export default function Sidebar() { {Object.entries(cameras) .filter(([_, conf]) => conf.gui.show) - .sort(([_, aConf], [__, bConf]) => aConf.gui.order === bConf.gui.order ? 0 : (aConf.gui.order > bConf.gui.order ? 1 : -1)) + .sort(([_, aConf], [__, bConf]) => aConf.ui.order === bConf.ui.order ? 0 : (aConf.ui.order > bConf.ui.order ? 1 : -1)) .map(([camera, conf]) => { if (conf.record.enabled) { return (