From 2e54875c926130f2eec3a628af27297862e47de0 Mon Sep 17 00:00:00 2001 From: MickaelK Date: Fri, 24 Nov 2023 01:42:00 +1100 Subject: [PATCH] fix (frontend): colors and refresh issue --- client/helpers/cache.js | 4 ++-- client/pages/viewerpage/filedownloader.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/helpers/cache.js b/client/helpers/cache.js index f88295c37..91ff6b491 100644 --- a/client/helpers/cache.js +++ b/client/helpers/cache.js @@ -337,8 +337,8 @@ export function setup_cache() { .then(() => cache.update(FILE_PATH, [currentBackend(), currentShare(), currentPath], (response) => { response.results = response.results.reduce((acc, file) => { if (file.icon === "loading") { - cache.remove(FILE_PATH, [currentBackend(), currentShare(), file.path]); - cache.remove(FILE_CONTENT, [currentBackend(), currentShare(), file.path]); + cache.remove(FILE_PATH, [currentBackend(), currentShare(), file.path], false); + cache.remove(FILE_CONTENT, [currentBackend(), currentShare(), file.path], false); return acc; } acc.push(file); diff --git a/client/pages/viewerpage/filedownloader.scss b/client/pages/viewerpage/filedownloader.scss index fc3ccf3d4..ff2d2e0ba 100644 --- a/client/pages/viewerpage/filedownloader.scss +++ b/client/pages/viewerpage/filedownloader.scss @@ -20,7 +20,7 @@ body:not(.dark-mode) .component_filedownloader { font-size: 17px; display: inline-block; text-transform: uppercase; - color: var(--super-light); + color: rgba(255,255,255,0.4); font-weight: bold; } // loading