Commit 912d1317 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Put extra chars length on a constant for readability

parent 720f09f3
......@@ -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;
}
......
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