From cc8b6f984d2add4f6b84b571feae223985100412 Mon Sep 17 00:00:00 2001 From: Rik Smale <13023439+WikiRik@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:40:56 +0000 Subject: [PATCH] chore: ignore 403 when fetching current board --- src/views/core/bodies/Single.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/core/bodies/Single.vue b/src/views/core/bodies/Single.vue index e17c0ec94..fed415b9e 100644 --- a/src/views/core/bodies/Single.vue +++ b/src/views/core/bodies/Single.vue @@ -436,7 +436,8 @@ export default { } } }).catch((err) => { - if (err.response.status === 404) { + // TODO: remove 403 once all members can view boards + if (err.response.status === 403 || err.response.status === 404) { return } this.$root.showError('Some error happened', err)