mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-26 07:02:48 -05:00
Allow errored views to be reloaded
This commit is contained in:
@@ -180,8 +180,7 @@ export default class StreamWindow extends EventEmitter {
|
||||
reloadView(viewIdx) {
|
||||
const view = this.views.find(
|
||||
(v) =>
|
||||
v.state.matches('displaying') &&
|
||||
v.state.context.pos.spaces.includes(viewIdx),
|
||||
v.state.context.pos && v.state.context.pos.spaces.includes(viewIdx),
|
||||
)
|
||||
if (view) {
|
||||
view.send('RELOAD')
|
||||
|
||||
Reference in New Issue
Block a user