提交 8b2eaa60 编写于 作者: A Alfredo Sumaran

Better checking for subgroups

上级 8064a400
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册