Skip to content

Commit

Permalink
fix(pat contentbrowser): Followup for path fix: set the rootPath if n…
Browse files Browse the repository at this point in the history
…othing is given.
  • Loading branch information
petschki committed Oct 23, 2024
1 parent e708b4e commit 91a1a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pat/contentbrowser/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
} else {
// no path available. try to determine path from vocabularyUrl
const vocabPath = new URL(vocabularyUrl).pathname.split("/");
$currentPath = vocabPath.slice(0, vocabPath.length - 1).join("/");
rootPath = contextPath = $currentPath = vocabPath.slice(0, vocabPath.length - 1).join("/");
}
}
Expand Down

0 comments on commit 91a1a03

Please sign in to comment.