From 12de9fcb18fa71fb0a59e3f101255bc554347646 Mon Sep 17 00:00:00 2001 From: Hazel K Date: Mon, 7 Oct 2024 11:18:08 -0400 Subject: [PATCH] fix error display --- packages/frontend/src/components/UserRecentNotes.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/UserRecentNotes.vue b/packages/frontend/src/components/UserRecentNotes.vue index 0f7a871c77..1d124b4932 100644 --- a/packages/frontend/src/components/UserRecentNotes.vue +++ b/packages/frontend/src/components/UserRecentNotes.vue @@ -72,7 +72,7 @@ async function reload(): Promise { .catch(error => { console.error('Error fetching user info', error); - return error.value = + loadError.value = typeof(error) === 'string' ? String(error) : JSON.stringify(error);