diff options
Diffstat (limited to 'app/client/live')
| -rw-r--r-- | app/client/live/live.reducer.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/live/live.reducer.js b/app/client/live/live.reducer.js index 3731506..16f491c 100644 --- a/app/client/live/live.reducer.js +++ b/app/client/live/live.reducer.js @@ -46,6 +46,7 @@ const liveReducer = (state = liveInitialState, action) => { } case types.socket.list_epochs: + if (action.epochs === "not found") return { ...state, epochs: [] } return { ...state, epochs: (action.epochs || []).map(a => [ a == 'latest' ? Infinity : a, a ]) |
