From ec5b7aaead3c5ca5850699b301213b278c34c677 Mon Sep 17 00:00:00 2001 From: Jan Lauber Date: Tue, 8 Feb 2022 23:36:45 +0100 Subject: [PATCH] fix donut Signed-off-by: Jan Lauber --- .../Items/CardComponents/Dashboard/StorageCardComponent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Items/CardComponents/Dashboard/StorageCardComponent.tsx b/src/Components/Items/CardComponents/Dashboard/StorageCardComponent.tsx index 7d6fbb1..aeb4dc0 100644 --- a/src/Components/Items/CardComponents/Dashboard/StorageCardComponent.tsx +++ b/src/Components/Items/CardComponents/Dashboard/StorageCardComponent.tsx @@ -139,10 +139,10 @@ export default function StorageCardComponent() { primaryValue={ storageObject[selectedStorage] / 1024 / 1024 / 1024 } - secondaryValue={storageQuotaObject[selectedStorage]} + secondaryValue={storageQuotaObject[selectedStorage] / 1024 / 1024 / 1024} innerText={ 100 - - (100 / storageQuotaObject[selectedStorage]) * + (100 / storageQuotaObject[selectedStorage] / 1024 / 1024 / 1024) * (storageObject[selectedStorage] / 1024 / 1024 / 1024) + "% Frei" }