diff --git a/web/src/routes/Cameras.jsx b/web/src/routes/Cameras.jsx index ec2965f7c..8e784716f 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 ? 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]) => ( ))}