diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-31 20:27:37 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-31 20:27:37 -0500 |
commit | 9c71b78145c649740815be7ee4f714d4451892a6 (patch) | |
tree | 7613d8321f3878ddc1132783a211f55a160fc60c /app/assets/javascripts/groups/components/group_item.vue | |
parent | 56a279be975147a800d6cd4879346def058ac4fa (diff) | |
download | gitlab-ce-9c71b78145c649740815be7ee4f714d4451892a6.tar.gz |
Fix JS error when filtering by option
Diffstat (limited to 'app/assets/javascripts/groups/components/group_item.vue')
-rw-r--r-- | app/assets/javascripts/groups/components/group_item.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/groups/components/group_item.vue b/app/assets/javascripts/groups/components/group_item.vue index 769ef05add6..2013469f9e6 100644 --- a/app/assets/javascripts/groups/components/group_item.vue +++ b/app/assets/javascripts/groups/components/group_item.vue @@ -63,7 +63,7 @@ export default { if (this.group.isOrphan) { // check if current group is baseGroup - if (this.baseGroup) { + if (Object.keys(this.baseGroup).length > 0) { // Remove baseGroup prefix from our current group.fullName. e.g: // baseGroup.fullName: `level1` // group.fullName: `level1 / level2 / level3` |