Fixed js error when adding new group

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-10-03 12:03:13 +02:00
parent 8ede3f6346
commit 8a8cf45d08
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF
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
*
* @param {Object} event The form submit event
* @returns {Promise}
*/
createGroup(event) {
let gid = event.target[0].value;
@ -218,7 +217,6 @@ export default {
.catch(() => {
this.loadingAddGroup = false;
});
return this.$store.getters.getGroups[this.groups.length];
}
},
computed: {