fix indentation and 3 dot menu
Signed-off-by: GretaD <gretadoci@gmail.com>
This commit is contained in:
parent
04281407f1
commit
0cff56b449
File diff suppressed because it is too large
Load Diff
|
@ -437,7 +437,7 @@ export default {
|
||||||
*/
|
*/
|
||||||
validateQuota(quota) {
|
validateQuota(quota) {
|
||||||
// only used for new presets sent through @Tag
|
// 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) {
|
if (validQuota !== null && validQuota >= 0) {
|
||||||
// unify format output
|
// unify format output
|
||||||
quota = OC.Util.humanFileSize(OC.Util.computerFileSize(quota))
|
quota = OC.Util.humanFileSize(OC.Util.computerFileSize(quota))
|
||||||
|
@ -525,7 +525,7 @@ export default {
|
||||||
setNewUserDefaultGroup(value) {
|
setNewUserDefaultGroup(value) {
|
||||||
if (value && value.length > 0) {
|
if (value && value.length > 0) {
|
||||||
// setting new user default group to the current selected one
|
// 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) {
|
if (currentGroup) {
|
||||||
this.newUser.groups = [currentGroup]
|
this.newUser.groups = [currentGroup]
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue