Skip to content

Commit

Permalink
fix (frontend): colors and refresh issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Nov 23, 2023
1 parent d811fdd commit 2e54875
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/helpers/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion client/pages/viewerpage/filedownloader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e54875

Please sign in to comment.