fix indentation and 3 dot menu

Signed-off-by: GretaD <gretadoci@gmail.com>
This commit is contained in:
GretaD 2020-01-15 15:48:48 +01:00 committed by Julius Härtl
parent 04281407f1
commit 0cff56b449
2 changed files with 1338 additions and 1162 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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