fix(web-ui): remove duplicate _normRecorder return block (JSX parse error)

This commit is contained in:
Zac Gaetano 2026-06-04 11:44:03 +00:00
parent 952c0e89af
commit 0e4a5d546b

View file

@ -648,22 +648,6 @@ function _normRecorder(r) {
audio: false,
};
}
return {
...r,
source: r.source_type || '·',
url: cfg.url || cfg.address || cfg.srt_url || cfg.rtmp_url || r.source_type || '·',
codec: r.recording_codec || '·',
res: r.recording_resolution || '·',
framerate: r.recording_framerate || 'native',
node: r.node_id ? r.node_id.slice(0, 8) : 'primary',
capturePort,
previewUrl: r.preview_url || null,
elapsed: '·',
bitrate: '·',
health: 100,
audio: false,
};
}
function Recorders({ navigate, onNew }) {
const [recorders, setRecorders] = React.useState(window.ZAMPP_DATA?.RECORDERS || []);