diff options
-rw-r--r-- | app/assets/javascripts/groups/components/group_item.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/groups/components/group_item.vue b/app/assets/javascripts/groups/components/group_item.vue index 64800a6ae10..a4bf11f3321 100644 --- a/app/assets/javascripts/groups/components/group_item.vue +++ b/app/assets/javascripts/groups/components/group_item.vue @@ -72,8 +72,9 @@ export default { const bfn = this.baseGroup.fullName; const length = bfn.length; const start = gfn.indexOf(bfn); + const extraPrefixChars = 3; - fullPath = gfn.substr(start + length + 3); + fullPath = gfn.substr(start + length + extraPrefixChars); } else { fullPath = this.group.fullName; } |