Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/src/components/UserList.vue')
-rw-r--r--apps/settings/src/components/UserList.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue
index c9a326d26f3..5459a04398e 100644
--- a/apps/settings/src/components/UserList.vue
+++ b/apps/settings/src/components/UserList.vue
@@ -345,7 +345,9 @@ export default {
label: cur,
}), [])
// add default presets
- quotaPreset.unshift(this.unlimitedQuota)
+ if (this.settings.allowUnlimitedQuota) {
+ quotaPreset.unshift(this.unlimitedQuota)
+ }
quotaPreset.unshift(this.defaultQuota)
return quotaPreset
},