1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 20:37:42 +00:00

Add draw file icon (#7323)

This commit is contained in:
Michael An
2025-01-07 14:24:47 +08:00
committed by GitHub
parent c260d7f443
commit 5bd42ddb67
5 changed files with 3 additions and 0 deletions

View File

@@ -710,6 +710,7 @@ class DirentListView extends React.Component {
className="vam cursor-pointer" className="vam cursor-pointer"
checked={this.props.isAllItemSelected} checked={this.props.isAllItemSelected}
disabled={direntList.length === 0} disabled={direntList.length === 0}
readOnly
/> />
), ),
onClick: (e) => { onClick: (e) => {

View File

@@ -111,6 +111,7 @@ export const Utils = {
'tiff': 'pic.png', 'tiff': 'pic.png',
'webp': 'pic.png', 'webp': 'pic.png',
'jfif': 'pic.png', 'jfif': 'pic.png',
'draw': 'draw.png',
// photoshop file // photoshop file
'psd': 'psd.png', 'psd': 'psd.png',

BIN
media/img/file/256/draw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -105,6 +105,7 @@ FILEEXT_ICON_MAP = {
'bmp': 'pic.png', 'bmp': 'pic.png',
'ico': 'pic.png', 'ico': 'pic.png',
'psd': 'psd.png', 'psd': 'psd.png',
'draw': 'draw.png',
# zip file # zip file
'zip': 'zip.png', 'zip': 'zip.png',