Skip to content

Commit

Permalink
filter out online events from assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
ctizen committed Dec 21, 2024
1 parent 180ea6f commit a0c5099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tyr/app/store/middlewares/apiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const apiClient =
.then((events) =>
mw.dispatch({
type: EVENTS_GET_LIST_SUCCESS,
payload: events,
payload: events.filter((e) => !e.isOnline),
})
)
.catch((err) => mw.dispatch({ type: EVENTS_GET_LIST_FAIL, payload: err }));
Expand Down

0 comments on commit a0c5099

Please sign in to comment.