From cdcd9a313aa50c2e6806a182b6838462d42dcafe Mon Sep 17 00:00:00 2001 From: kloon15 Date: Thu, 2 Nov 2023 08:47:55 +0100 Subject: [PATCH] fix: display file size as base 2 (KiB instead of KB) (#2779) --- frontend/src/components/files/ListingItem.vue | 2 +- frontend/src/components/prompts/Info.vue | 4 ++-- frontend/src/utils/index.js | 6 ++++++ frontend/src/views/Share.vue | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 frontend/src/utils/index.js diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 677d30e9..71813bcf 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -37,7 +37,7 @@