Put extra chars length on a constant for readability
This commit is contained in:
parent
720f09f341
commit
912d1317d5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue