Skip to content

Commit 2f21628

Browse files
Merge pull request #1599 from wuxiaojun514/dev
#1597
2 parents 95f5d05 + 73b4bd9 commit 2f21628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/SPTermStorePickerService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ export default class SPTermStorePickerService {
534534
if (term.Paths && term.Paths.length > 0) {
535535
const fullPath = term.Paths[0].replace(/^\[/, "").replace(/\]$/, "");
536536
const fullPathParts = fullPath.split(":");
537-
path = fullPathParts.join(";") + ";" + term.DefaultLabel;
537+
path = fullPathParts.slice(1).join(";") + ";" + term.DefaultLabel;
538538
termSetName = fullPathParts[0];
539539
}
540540
return {

0 commit comments

Comments
 (0)