+ {/* File Count */}
+
+ Files:
+
+ {self.file_count.toLocaleString()}
+
+
+
+ {/* Total Usage */}
+
+ Total Size:
+
+ {FormatBytes(self.total_size)}
+
+
+
+ {/* Only show quota information if available */}
{self.total_available_quota && self.total_available_quota > 0 && (
<>
- {/* File Count */}
-
- Files:
-
- {self.file_count.toLocaleString()}
-
-
-
{/* Progress Bar */}
- Used:
+ Quota Used:
{FormatBytes(self.total_size)} of{" "}
{FormatBytes(self.total_available_quota)}
@@ -295,16 +276,8 @@ export default function Upload() {
- {/* Quota Breakdown */}
+ {/* Quota Breakdown - excluding free quota */}
- {self.free_quota && self.free_quota > 0 && (
-
- Free Quota:
-
- {FormatBytes(self.free_quota)}
-
-
- )}
{(self.quota ?? 0) > 0 && (
Paid Quota:
@@ -342,16 +315,6 @@ export default function Upload() {
>
)}
-
- {(!self.total_available_quota ||
- self.total_available_quota === 0) && (
-
-
No quota information available
-
- Contact administrator for storage access
-
-
- )}