Skip to content

Commit

Permalink
Merge pull request #1599 from wuxiaojun514/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
joelfmrodrigues authored Sep 11, 2023
2 parents 95f5d05 + 73b4bd9 commit 2f21628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/SPTermStorePickerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export default class SPTermStorePickerService {
if (term.Paths && term.Paths.length > 0) {
const fullPath = term.Paths[0].replace(/^\[/, "").replace(/\]$/, "");
const fullPathParts = fullPath.split(":");
path = fullPathParts.join(";") + ";" + term.DefaultLabel;
path = fullPathParts.slice(1).join(";") + ";" + term.DefaultLabel;
termSetName = fullPathParts[0];
}
return {
Expand Down

0 comments on commit 2f21628

Please sign in to comment.