fix: resolved nav header secret path issues

This commit is contained in:
Akhil Mohan
2023-10-27 12:16:37 +05:30
parent 508ed7f7d6
commit 15504346cd
2 changed files with 7 additions and 15 deletions
@@ -131,7 +131,7 @@ export default function NavHeader({
{isFolderMode &&
secretPathSegments?.map((folderName, index) => {
const query = { ...router.query };
query.secretPath = secretPathSegments.slice(0, index + 1);
query.secretPath = `/${secretPathSegments.slice(0, index + 1).join("/")}`;
return (
<div