Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/background/api/filesystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const getFolderContents = (path: string) => {
return new Promise<AxiosResponse<FsEntity[]>>((resolve, reject) => {
let config = {
headers: {
"X-FF-PATH": path,
"X-FF-PATH": decodeURI(path),
},
}
Axios.get<FsEntity[]>(hostname + filesystemPath + "contents", config)
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/filesytem/FilesBreadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function FilesBreadcrumb(props: Props): ReactElement {
}
key={i}
>
{folder}{" "}
{decodeURI(folder)}
</Link>
)
})}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,18 @@ Object {
href="/file/bla"
>
bla

</a>
<a
class="breadcrumb-item"
href="/file/bla/fasel"
>
fasel

</a>
<a
class="breadcrumb-item active"
href="/file/bla/fasel/file"
>
file

</a>
</ol>
</nav>
Expand All @@ -60,21 +57,18 @@ Object {
href="/file/bla"
>
bla

</a>
<a
class="breadcrumb-item"
href="/file/bla/fasel"
>
fasel

</a>
<a
class="breadcrumb-item active"
href="/file/bla/fasel/file"
>
file

</a>
</ol>
</nav>
Expand Down