Merge pull request #11578 from nextcloud/add-group-settings-fix

Fixed js error when adding new group
This commit is contained in:
Roeland Jago Douma 2018-10-03 15:12:55 +02:00 committed by GitHub
commit 893d2daece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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