From 3f7047ab071737194193baceecdcf7b63a156290 Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Thu, 8 Oct 2026 23:35:41 +0200 Subject: [PATCH] clean up sorting feture fix #3 --- src/App.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 45f3ccb..2258f77 100644 --- a/src/App.vue +++ b/src/App.vue @@ -180,8 +180,7 @@ function loadView() { try { const raw = localStorage.getItem(STORAGE_KEY_VIEW); return raw || "grid"; - } catch (error) { - console.error("View settings could not be loaded:", error); + } catch { return "grid"; } } @@ -190,8 +189,7 @@ function loadSort() { try { const raw = localStorage.getItem(STORAGE_KEY_SORT); return raw || "title"; - } catch (error) { - console.error("View settings could not be loaded:", error); + } catch { return "title"; } }