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
Resolves #43535

Signed-off-by: jkhradil <jkhradil@gmail.com>
  • Loading branch information
jkhradil authored Feb 13, 2024
1 parent 56640c7 commit 7d3e563
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?.free <= 0 && this.storageStats?.quota != 0) {
this.showStorageFullWarning()
}
},
Expand Down

0 comments on commit 7d3e563

Please sign in to comment.