Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
C_Team_KhuDrive
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
김재형
2020-06-17 15:46:20 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
975cdab33c3d4d645bd1a08c7b17587b9c109c45
975cdab3
1 parent
3554eabd
Adjust FileListItem
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
frontend/src/file/FileListItem.tsx
frontend/src/file/FileListItem.tsx
View file @
975cdab
...
...
@@ -9,8 +9,12 @@ import { useDownload } from "./useDownload";
export function FileListItem({ item }: { item: FileItem }) {
const download = useDownload();
return item.is_folder ? (
<Link to={`/folder/${item.id}`}>
<FolderFilled /> {item.name}
<Link
className="ant-btn ant-btn-link ant-btn-sm"
to={`/folder/${item.id}`}
style={{ padding: 0 }}
>
<FolderFilled /> <span>{item.name}</span>
</Link>
) : (
<Button
...
...
Please
register
or
login
to post a comment