diff --git a/src/features/file-listing/FileListing.tsx b/src/features/file-listing/FileListing.tsx index 0dd7b97..ef8fb74 100644 --- a/src/features/file-listing/FileListing.tsx +++ b/src/features/file-listing/FileListing.tsx @@ -1,4 +1,18 @@ -import { Avatar, Box, Table, TableContainer, Tbody, Td, Text, Th, Thead, Tr, Wrap, WrapItem } from '@chakra-ui/react'; +import { + Avatar, + Box, + Link, + Table, + TableContainer, + Tbody, + Td, + Text, + Th, + Thead, + Tr, + Wrap, + WrapItem, +} from '@chakra-ui/react'; import { ProcessState, selectFiles } from './fileListingSlice'; import { useAppSelector } from '../../hooks'; @@ -38,7 +52,14 @@ export function FileListing() { 播放 - 下载 + + {/* TODO: Use correct file name */} + {file.decrypted && ( + + 下载 + + )} + 删除