mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-06 01:45:37 -05:00
Fix overlay crash on undefined stream data
This commit is contained in:
@@ -35,7 +35,7 @@ function Overlay({ config, views, streams }) {
|
||||
const isBlurred = viewState.matches('displaying.running.video.blurred')
|
||||
const isLoading = viewState.matches('displaying.loading')
|
||||
const hasTitle = data && (data.label || data.source)
|
||||
const position = data.labelPosition ?? 'top-left'
|
||||
const position = data?.labelPosition ?? 'top-left'
|
||||
return (
|
||||
<SpaceBorder
|
||||
pos={pos}
|
||||
|
||||
Reference in New Issue
Block a user