Skip to content

Commit

Permalink
Do not show full storage notification to users with 0 Bytes quota
Browse files Browse the repository at this point in the history
Fix for nextcloud#43535

Signed-off-by: jkhradil <jkhradil@gmail.com>
  • Loading branch information
jkhradil authored Feb 13, 2024
1 parent 9a94df0 commit 44dd1c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/files/src/components/NavigationQuota.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export default {
},
mounted() {
// Warn the user if the available storage is 0 on page load
if (this.storageStats?.free <= 0) {
// Warn the user if the available storage is 0 on page load, except for users with 0 B quota
if (this.storageStats?.quota != 0 && this.storageStats?.free <= 0) {
this.showStorageFullWarning()
}
},
Expand Down

0 comments on commit 44dd1c3

Please sign in to comment.