Skip to content

Commit c2b1e7e

Browse files
committed
Use archive icon
1 parent 3b80597 commit c2b1e7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/scripts/components/server/files/FileObjectRow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
2-
import { faFileAlt, faFileImport, faFolder } from '@fortawesome/free-solid-svg-icons';
2+
import { faFileAlt, faFileArchive, faFileImport, faFolder } from '@fortawesome/free-solid-svg-icons';
33
import { bytesToHuman, cleanDirectoryPath } from '@/helpers';
44
import { differenceInHours, format, formatDistanceToNow } from 'date-fns';
55
import React, { memo } from 'react';
@@ -53,7 +53,7 @@ const FileObjectRow = ({ file }: { file: FileObject }) => {
5353
>
5454
<div css={tw`flex-none self-center text-neutral-400 mr-4 text-lg pl-3 ml-6`}>
5555
{file.isFile ?
56-
<FontAwesomeIcon icon={file.isSymlink ? faFileImport : faFileAlt}/>
56+
<FontAwesomeIcon icon={file.isSymlink ? faFileImport : file.isArchiveType() ? faFileArchive : faFileAlt}/>
5757
:
5858
<FontAwesomeIcon icon={faFolder}/>
5959
}

0 commit comments

Comments
 (0)