summaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorGretaD <gretadoci@gmail.com>2020-01-15 15:48:48 +0100
committerJulius Härtl <jus@bitgrid.net>2020-01-16 20:12:00 +0100
commit0cff56b449d7f6515f0d6c3f03aff1d2df079c55 (patch)
tree18164663f783d1bcb7163e3dc39d3e42574d1667 /apps/settings/src
parent04281407f12a12b19cc48710f86dcce91c448963 (diff)
downloadnextcloud-server-0cff56b449d7f6515f0d6c3f03aff1d2df079c55.tar.gz
nextcloud-server-0cff56b449d7f6515f0d6c3f03aff1d2df079c55.zip
fix indentation and 3 dot menu
Signed-off-by: GretaD <gretadoci@gmail.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/UserList.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue
index 1dd6521ac29..2cb4dc67c84 100644
--- a/apps/settings/src/components/UserList.vue
+++ b/apps/settings/src/components/UserList.vue
@@ -437,7 +437,7 @@ export default {
*/
validateQuota(quota) {
// only used for new presets sent through @Tag
- let validQuota = OC.Util.computerFileSize(quota)
+ const validQuota = OC.Util.computerFileSize(quota)
if (validQuota !== null && validQuota >= 0) {
// unify format output
quota = OC.Util.humanFileSize(OC.Util.computerFileSize(quota))
@@ -525,7 +525,7 @@ export default {
setNewUserDefaultGroup(value) {
if (value && value.length > 0) {
// setting new user default group to the current selected one
- let currentGroup = this.groups.find(group => group.id === value)
+ const currentGroup = this.groups.find(group => group.id === value)
if (currentGroup) {
this.newUser.groups = [currentGroup]
return