fix: Correctly show free space if lower than quota in Files navigation

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2025-06-26 10:55:46 +02:00
parent e7ed52f16e
commit aaccfc27ee
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -58,7 +58,7 @@ export default {
computed: {
storageStatsTitle() {
const usedQuotaByte = formatFileSize(this.storageStats?.used, false, false)
const quotaByte = formatFileSize(this.storageStats?.quota, false, false)
const quotaByte = formatFileSize(this.storageStats?.total, false, false)
// If no quota set
if (this.storageStats?.quota < 0) {