From d0a8647186cd4115baca6f588b230904db58eaff Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 9 Feb 2021 17:08:15 +0100 Subject: [PATCH] :bug: Fix unexpected 404 error on access shared link. --- frontend/src/app/main/data/viewer.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/data/viewer.cljs b/frontend/src/app/main/data/viewer.cljs index 96d3f1bdd..550b5ddb9 100644 --- a/frontend/src/app/main/data/viewer.cljs +++ b/frontend/src/app/main/data/viewer.cljs @@ -137,7 +137,8 @@ (d/index-by :id) (assoc state :comment-threads))) (on-error [{:keys [type] :as err}] - (if (= :authentication type) + (if (or (= :authentication type) + (= :not-found type)) (rx/empty) (rx/throw err)))]