diff --git a/src/pat/contentbrowser/src/App.svelte b/src/pat/contentbrowser/src/App.svelte index 543952484..33dbebe12 100644 --- a/src/pat/contentbrowser/src/App.svelte +++ b/src/pat/contentbrowser/src/App.svelte @@ -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("/"); } }