Skip to content
Snippets Groups Projects
Commit 8b2eaa60 authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Better checking for subgroups

parent 8064a400
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -10,7 +10,7 @@ export default {
},
methods: {
toggleSubGroups() {
if (this.group.subGroups && !this.group.subGroups.length) {
if (!this.group.subGroups || (this.group.subGroups && !this.group.subGroups.length)) {
return;
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment