Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

add Name of file to preview Link #187

Merged
merged 6 commits into from
Jun 4, 2021
Merged
Changes from 1 commit
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
5 changes: 4 additions & 1 deletion src/components/pages/filesytem/FileListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ function FileListItem(props: Props): ReactElement {
to={
isFolder
? `/file${props.fileListItem.path ?? ""}`
: "/data/preview/" + props.fileListItem.fileSystemId
: "/data/preview/" +
props.fileListItem.fileSystemId +
"/" +
props.fileListItem.name
}
>
{props.fileListItem.name}
Expand Down