Commit abdd1892 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Restore accidentally deleted code

parent a161384b
...@@ -84,6 +84,9 @@ export default { ...@@ -84,6 +84,9 @@ export default {
return fullPath; return fullPath;
}, },
hasGroups() {
return Object.keys(this.group.subGroups).length > 0;
},
}, },
}; };
</script> </script>
...@@ -158,6 +161,6 @@ export default { ...@@ -158,6 +161,6 @@ export default {
{{group.description}} {{group.description}}
</div> </div>
<group-folder v-if="group.isOpen && group.hasSubgroups" :groups="group.subGroups" :baseGroup="group" /> <group-folder v-if="group.isOpen && hasGroups" :groups="group.subGroups" :baseGroup="group" />
</li> </li>
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment