summaryrefslogtreecommitdiffstats
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 30c6a65e6af..943d61cf0f5 100644
--- a/apps/files/src/components/NavigationQuota.vue
+++ b/apps/files/src/components/NavigationQuota.vue
@@ -89,7 +89,7 @@ export default {
mounted() {
// Warn the user if the available storage is 0 on page load
- if (this.storageStats?.free === 0) {
+ if (this.storageStats?.free <= 0) {
this.showStorageFullWarning()
}
},
@@ -123,7 +123,7 @@ export default {
}
// Warn the user if the available storage changed from > 0 to 0
- if (this.storageStats?.free !== 0 && response.data.data?.free === 0) {
+ if (this.storageStats?.free > 0 && response.data.data?.free <= 0) {
this.showStorageFullWarning()
}