Skip to content

Commit

Permalink
fix(ui): don't display error if leaving herd fails due to CellMissing…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
mattyg committed Mar 25, 2023
1 parent 6e05909 commit 969c2ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/herd/posts/AllPosts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ const fetchAllPosts = async () => {
const { data: hashes, loading } = useRequest(fetchAllPosts, {
pollingInterval: 1000,
onError: (e: any) => {
toast.error(`Error fetching calls ${e.data.data}`);
if(!e.data.data.includes('CellMissing')) {
toast.error(`Error fetching calls ${e.data.data}`);
}
}
});
</script>

0 comments on commit 969c2ef

Please sign in to comment.