Merge pull request #11578 from nextcloud/add-group-settings-fix
Fixed js error when adding new group
This commit is contained in:
commit
893d2daece
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -205,7 +205,6 @@ export default {
|
||||||
* Create a new group
|
* Create a new group
|
||||||
*
|
*
|
||||||
* @param {Object} event The form submit event
|
* @param {Object} event The form submit event
|
||||||
* @returns {Promise}
|
|
||||||
*/
|
*/
|
||||||
createGroup(event) {
|
createGroup(event) {
|
||||||
let gid = event.target[0].value;
|
let gid = event.target[0].value;
|
||||||
|
@ -218,7 +217,6 @@ export default {
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loadingAddGroup = false;
|
this.loadingAddGroup = false;
|
||||||
});
|
});
|
||||||
return this.$store.getters.getGroups[this.groups.length];
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
Loading…
Reference in New Issue