Allow errored views to be reloaded

This commit is contained in:
Max Goodhart
2020-06-19 19:19:37 -07:00
parent 490b626a06
commit 570b07ed1e
4 changed files with 15 additions and 21 deletions

View File

@@ -23,7 +23,7 @@ Mousetrap.bind('ctrl+shift+i', () => {
function Overlay({ views, streams, customStreams }) {
const activeViews = views
.map(({ state, context }) => State.from(state, context))
.filter((s) => s.matches('displaying'))
.filter((s) => s.matches('displaying') && !s.matches('displaying.error'))
return (
<div>
{activeViews.map((viewState) => {