Skip to content

Commit

Permalink
feat: able to open files directly
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Nov 14, 2022
1 parent de311df commit 1cfbe61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/src/components/FilesTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ const FilesTable = () => {
.map((file, idx) => {
return (
<Table.Row key={file.id}>
<Table.Cell>{file.filename}</Table.Cell>
<Table.Cell>
<a href={'/upload/' + file.link} target='_blank'>
{file.filename}
</a>
</Table.Cell>
<Popup
content={'上传者 ID:' + file.uploader_id}
trigger={<Table.Cell>{file.uploader}</Table.Cell>}
Expand Down

0 comments on commit 1cfbe61

Please sign in to comment.