From 67e6193fac5eca3b4c8d797ba537c8a0775f240c Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Wed, 16 Feb 2022 12:14:35 -0700 Subject: [PATCH] Use === --- web/src/routes/Cameras.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/Cameras.jsx b/web/src/routes/Cameras.jsx index 8e784716f..93e196821 100644 --- a/web/src/routes/Cameras.jsx +++ b/web/src/routes/Cameras.jsx @@ -16,7 +16,7 @@ export default function Cameras() { ) : (
- {Object.entries(config.cameras).sort(([aCam, aConf], [bCam, bConf]) => aConf.gui.order == bConf.gui.order ? 0 : (aConf.gui.order > bConf.gui.order ? 1 : -1)).map(([camera, conf]) => ( + {Object.entries(config.cameras).sort(([aCam, aConf], [bCam, bConf]) => aConf.gui.order === bConf.gui.order ? 0 : (aConf.gui.order > bConf.gui.order ? 1 : -1)).map(([camera, conf]) => ( ))}