aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/NavigationQuota.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/components/NavigationQuota.vue')
-rw-r--r--apps/files/src/components/NavigationQuota.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/src/components/NavigationQuota.vue b/apps/files/src/components/NavigationQuota.vue
index 2d4e616adc0..11a32485952 100644
--- a/apps/files/src/components/NavigationQuota.vue
+++ b/apps/files/src/components/NavigationQuota.vue
@@ -103,7 +103,7 @@ export default {
// specific to that situation anyhow. So this covers warning covers
// our primary day-to-day concern (individual account quota usage).
//
- if (this.storageStats?.quota > 0 && this.storageStats?.free <= 0) {
+ if (this.storageStats?.quota > 0 && this.storageStats?.free === 0) {
this.showStorageFullWarning()
}
},
@@ -138,7 +138,7 @@ export default {
// Warn the user if the available account storage changed from > 0 to 0
// (unless only because quota was intentionally set to 0 by admin in the interim)
- if (this.storageStats?.free > 0 && response.data.data?.free <= 0 && response.data.data?.quota > 0) {
+ if (this.storageStats?.free > 0 && response.data.data?.free === 0 && response.data.data?.quota > 0) {
this.showStorageFullWarning()
}