From 969c2efc7e1c2e2eb8d74d48ca7c503f853e4a1d Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Fri, 24 Mar 2023 20:57:47 -0700 Subject: [PATCH] fix(ui): don't display error if leaving herd fails due to CellMissing error --- ui/src/herd/posts/AllPosts.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/herd/posts/AllPosts.vue b/ui/src/herd/posts/AllPosts.vue index b62121b..b08d6be 100644 --- a/ui/src/herd/posts/AllPosts.vue +++ b/ui/src/herd/posts/AllPosts.vue @@ -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}`); + } } });