mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Update naming in web
This commit is contained in:
parent
fb43cf2620
commit
355b4dee95
@ -22,8 +22,8 @@ export default function Sidebar() {
|
||||
<Fragment>
|
||||
<Separator />
|
||||
{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]) => (
|
||||
<Destination key={camera} href={`/cameras/${camera}`} text={camera} />
|
||||
))}
|
||||
@ -39,7 +39,7 @@ export default function Sidebar() {
|
||||
<Separator />
|
||||
{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 (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user