From 56e22d539d94d69ea6abc31dc323fef87977f32d Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Mon, 8 Jul 2024 08:01:47 +0200 Subject: [PATCH] Hide thumbnails setting Prevents downloading thumbnails, due to a known issue where certain image downloads will crash the Codex node. --- src/App.vue | 12 +- src/components/AppNav.vue | 235 +------------------ src/components/MainMenu.vue | 315 ++++++++++++++++++++++++++ src/components/NotificationCentre.vue | 27 ++- src/components/StorageRequests.vue | 5 +- src/views/RequestsView.vue | 5 +- 6 files changed, 356 insertions(+), 243 deletions(-) create mode 100644 src/components/MainMenu.vue diff --git a/src/App.vue b/src/App.vue index a5e8900..b4e369c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -51,16 +51,24 @@ async function detectRunningCodexDevnet() { return false } } +const hideThumbnails = ref(false) +function onToggleHideThumbnails(override) { + if (override !== undefined) { + hideThumbnails.value = override + } else { + hideThumbnails.value = !hideThumbnails.value + } +}