mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-26 15:12:47 -05:00
Fix pruning of empty entries in the custom streams list
This commit is contained in:
@@ -196,7 +196,7 @@ function App({ wsEndpoint }) {
|
||||
const handleChangeCustomStream = useCallback((idx, customStream) => {
|
||||
let newCustomStreams = [...customStreams]
|
||||
newCustomStreams[idx] = customStream
|
||||
newCustomStreams = newCustomStreams.filter((s) => s.kind)
|
||||
newCustomStreams = newCustomStreams.filter((s) => s.label || s.link)
|
||||
wsRef.current.send(
|
||||
JSON.stringify({
|
||||
type: 'set-custom-streams',
|
||||
|
||||
Reference in New Issue
Block a user